	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ieee80211_scan_completed
___ieee80211_scan_completed:            ## @__ieee80211_scan_completed
	.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	%edx, %r14d
	movl	%esi, %ebx
	callq	_hw_to_local
	movq	%rax, %r13
	leaq	48(%rax), %r12
	movq	%r12, %rdi
	callq	_lockdep_assert_held
	cmpq	$0, 8(%r13)
	sete	%al
	testl	%ebx, %ebx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	movl	$1, %r15d
	cmovel	%ebx, %r15d
	xorl	%edi, %edi
	cmpq	$0, 24(%r13)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.3:
	movq	%r13, %rdi
	callq	_ieee80211_prep_hw_scan
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	16(%r13), %ebx
	movq	%r12, %rdi
	callq	_lockdep_is_held
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	40(%r13), %rdx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_drv_hw_scan
	testl	%eax, %eax
	je	LBB0_10
LBB0_5:
	movq	40(%r13), %rdi
	callq	_kfree
	movq	$0, 40(%r13)
	movq	24(%r13), %rdi
	cmpq	32(%r13), %rdi
	je	LBB0_7
## %bb.6:
	movl	%r15d, %esi
	callq	_cfg80211_scan_done
LBB0_7:
	movq	$0, 24(%r13)
	movl	16(%r13), %edi
	xorl	%esi, %esi
	callq	_rcu_assign_pointer
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ieee80211_hw_config
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_ieee80211_configure_filter
	movq	%r13, %rdi
	callq	_drv_sw_scan_complete
	movq	%r13, %rdi
	callq	_ieee80211_offchannel_return
LBB0_9:
	movq	%r13, %rdi
	callq	_ieee80211_recalc_idle
	movq	%r13, %rdi
	callq	_ieee80211_mlme_notify_scan_completed
	movq	%r13, %rdi
	callq	_ieee80211_ibss_notify_scan_completed
	movq	%r13, %rdi
	callq	_ieee80211_mesh_notify_scan_completed
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_start_next_roc       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___ieee80211_scan_completed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ieee80211_scan_completed
___ieee80211_scan_completed:            ; @__ieee80211_scan_completed
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_hw_to_local
	mov	x19, x0
	add	x22, x0, #48
	mov	x0, x22
	bl	_lockdep_assert_held
	ldr	x8, [x19, #8]
	cmp	w21, #0
	ccmp	x8, #0, #0, eq
	cset	w0, eq
	bl	_WARN_ON
	cmp	x0, #0
	csinc	w21, w21, wzr, eq
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
	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
LBB0_2:
	cbz	w20, LBB0_6
; %bb.3:
	cbnz	w21, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_ieee80211_prep_hw_scan
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w23, [x19, #16]
	mov	x0, x22
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x23
	bl	_rcu_dereference_protected
	mov	x1, x0
	ldr	x2, [x19, #40]
	mov	x0, x19
	bl	_drv_hw_scan
	cbz	w0, LBB0_1
LBB0_6:
	ldr	x0, [x19, #40]
	bl	_kfree
	str	xzr, [x19, #40]
	ldp	x0, x8, [x19, #24]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.7:
	mov	x1, x21
	bl	_cfg80211_scan_done
LBB0_8:
	str	xzr, [x19, #24]
	ldr	w0, [x19, #16]
	mov	x1, #0
	bl	_rcu_assign_pointer
	stp	xzr, xzr, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_ieee80211_hw_config
	cbnz	w20, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ieee80211_configure_filter
	mov	x0, x19
	bl	_drv_sw_scan_complete
	mov	x0, x19
	bl	_ieee80211_offchannel_return
LBB0_10:
	mov	x0, x19
	bl	_ieee80211_recalc_idle
	mov	x0, x19
	bl	_ieee80211_mlme_notify_scan_completed
	mov	x0, x19
	bl	_ieee80211_ibss_notify_scan_completed
	mov	x0, x19
	bl	_ieee80211_mesh_notify_scan_completed
	mov	x0, x19
	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
	b	_ieee80211_start_next_roc
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___ieee80211_scan_completed
.subsections_via_symbols
