	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_stop_locked          ## -- Begin function ieee80211_stop_locked
	.p2align	4, 0x90
_ieee80211_stop_locked:                 ## @ieee80211_stop_locked
	.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, %rbx
	movq	(%rdi), %r12
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_IEEE80211_LOCK_ASSERT
	movq	_IEEE80211_MSG_STATE@GOTPCREL(%rip), %r15
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%r15), %esi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_IEEE80211_DPRINTF
	movq	_IEEE80211_S_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_ieee80211_new_state_locked
	movl	(%r12), %eax
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r12)
	decq	(%r14)
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r13), %esi
	orl	(%r15), %esi
	movq	8(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_IEEE80211_DPRINTF
	leaq	16(%r14), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_runtask              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_STATE,4,2        ## @IEEE80211_MSG_STATE
	.comm	_IEEE80211_MSG_DEBUG,4,2        ## @IEEE80211_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stop running, %d vaps running\n"

	.comm	_IEEE80211_S_INIT,4,2           ## @IEEE80211_S_INIT
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
L_.str.1:                               ## @.str.1
	.asciz	"down parent %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_stop_locked          ; -- Begin function ieee80211_stop_locked
	.p2align	2
_ieee80211_stop_locked:                 ; @ieee80211_stop_locked
	.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, x0
	ldp	x23, x19, [x0]
	mov	x0, x19
	bl	_IEEE80211_LOCK_ASSERT
Lloh0:
	adrp	x21, _IEEE80211_MSG_STATE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IEEE80211_MSG_STATE@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w1, w9, w8
	ldr	x3, [x19]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IEEE80211_DPRINTF
Lloh6:
	adrp	x8, _IEEE80211_S_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_S_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_ieee80211_new_state_locked
	ldr	w8, [x23]
Lloh9:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bic	w8, w8, w9
	str	w8, [x23]
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.eq	LBB0_3
LBB0_2:
	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_3:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	ldr	x3, [x19, #8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_IEEE80211_DPRINTF
	add	x1, x19, #16
	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_runtask
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_STATE,4,2        ; @IEEE80211_MSG_STATE
	.comm	_IEEE80211_MSG_DEBUG,4,2        ; @IEEE80211_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stop running, %d vaps running\n"

	.comm	_IEEE80211_S_INIT,4,2           ; @IEEE80211_S_INIT
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
l_.str.1:                               ; @.str.1
	.asciz	"down parent %s\n"

.subsections_via_symbols
