	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_swscan_vdetach
_ieee80211_swscan_vdetach:              ## @ieee80211_swscan_vdetach
	.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, %r15
	movq	(%rdi), %rbx
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_IEEE80211_LOCK_ASSERT
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	cmpq	%r15, (%r14)
	je	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_IEEE80211_F_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	_ISCAN_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scan_signal_locked             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_F_SCAN,4,2           ## @IEEE80211_F_SCAN
	.comm	_ISCAN_ABORT,4,2                ## @ISCAN_ABORT
	.no_dead_strip	_ieee80211_swscan_vdetach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_swscan_vdetach
_ieee80211_swscan_vdetach:              ; @ieee80211_swscan_vdetach
	.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	x21, x0
	ldr	x20, [x0]
	ldr	x19, [x20, #8]
	mov	x0, x20
	bl	_IEEE80211_LOCK_ASSERT
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, x21
	b.eq	LBB0_3
LBB0_2:
	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_3:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IEEE80211_F_SCAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_F_SCAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:
Lloh3:
	adrp	x8, _ISCAN_ABORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISCAN_ABORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_scan_signal_locked
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_F_SCAN,4,2           ; @IEEE80211_F_SCAN
	.comm	_ISCAN_ABORT,4,2                ; @ISCAN_ABORT
	.no_dead_strip	_ieee80211_swscan_vdetach
.subsections_via_symbols
