	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cfg80211_sme_scan_done
___cfg80211_sme_scan_done:              ## @__cfg80211_sme_scan_done
	.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), %rbx
	movl	20(%rbx), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	(%rbx), %rax
	movq	_CFG80211_SME_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	(%rax), %rax
	movq	_CFG80211_CONN_SCANNING@GOTPCREL(%rip), %rcx
	movq	_CFG80211_CONN_SCAN_AGAIN@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	cmpq	(%r15), %rax
	je	LBB0_4
LBB0_7:
	addq	$8, %rsp
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_cfg80211_get_conn_bss
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	addq	$4, %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_put_bss               ## TAILCALL
LBB0_5:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_6
## %bb.10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_6:
	movl	16(%rbx), %edi
	movl	8(%rax), %esi
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	___cfg80211_connect_result
	addq	$40, %rsp
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG80211_SME_CONNECTING,8,3    ## @CFG80211_SME_CONNECTING
	.comm	_CFG80211_CONN_SCANNING,8,3     ## @CFG80211_CONN_SCANNING
	.comm	_CFG80211_CONN_SCAN_AGAIN,8,3   ## @CFG80211_CONN_SCAN_AGAIN
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
	.no_dead_strip	___cfg80211_sme_scan_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cfg80211_sme_scan_done
___cfg80211_sme_scan_done:              ; @__cfg80211_sme_scan_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0]
	ldr	w0, [x19, #20]
	bl	_wiphy_to_dev
	mov	x20, x0
	mov	x0, x19
	bl	_ASSERT_WDEV_LOCK
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CFG80211_SME_CONNECTING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CFG80211_SME_CONNECTING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CFG80211_CONN_SCANNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CFG80211_CONN_SCANNING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x21, _CFG80211_CONN_SCAN_AGAIN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _CFG80211_CONN_SCAN_AGAIN@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_cfg80211_get_conn_bss
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	add	x0, x20, #4
	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
	add	sp, sp, #64
	b	_cfg80211_put_bss
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_schedule_work
LBB0_7:
	ldr	w0, [x19, #16]
	ldr	w1, [x8, #8]
Lloh8:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	str	xzr, [sp]
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	mov	w7, #0
	bl	___cfg80211_connect_result
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG80211_SME_CONNECTING,8,3    ; @CFG80211_SME_CONNECTING
	.comm	_CFG80211_CONN_SCANNING,8,3     ; @CFG80211_CONN_SCANNING
	.comm	_CFG80211_CONN_SCAN_AGAIN,8,3   ; @CFG80211_CONN_SCAN_AGAIN
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
	.no_dead_strip	___cfg80211_sme_scan_done
.subsections_via_symbols
