	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wl1251_op_stop
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wl1251_op_stop:                        ## @wl1251_op_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_wl1251_info
	movq	_DEBUG_MAC80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wl1251_debug
	leaq	32(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_WL1251_STATE_ON@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	cmpl	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	$1, -24(%rbp)
	movl	140(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_ieee80211_scan_completed
	movl	$0, 8(%rbx)
LBB0_2:
	movq	_WL1251_STATE_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_wl1251_disable_interrupts
	movq	%r14, %rdi
	callq	_mutex_unlock
	leaq	136(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	132(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	128(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_wl1251_tx_flush
	movq	%rbx, %rdi
	callq	_wl1251_power_off
	movl	124(%rbx), %edi
	callq	_eth_zero_addr
	movq	_MAX_BSS_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%rbx)
	movups	%xmm0, 88(%rbx)
	movups	%xmm0, 72(%rbx)
	movq	_STATION_ACTIVE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	$0, 56(%rbx)
	movq	_WL1251_DEFAULT_POWER_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	$0, 40(%rbx)
	movq	_WL1251_DEFAULT_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	movups	%xmm0, 12(%rbx)
	movl	$0, 28(%rbx)
	movq	%rbx, %rdi
	callq	_wl1251_debugfs_reset
	movq	%r14, %rdi
	callq	_mutex_unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"down"

	.comm	_DEBUG_MAC80211,4,2             ## @DEBUG_MAC80211
L_.str.1:                               ## @.str.1
	.asciz	"mac80211 stop"

	.comm	_WL1251_STATE_ON,8,3            ## @WL1251_STATE_ON
	.comm	_WL1251_STATE_OFF,8,3           ## @WL1251_STATE_OFF
	.comm	_MAX_BSS_TYPE,4,2               ## @MAX_BSS_TYPE
	.comm	_STATION_ACTIVE_MODE,4,2        ## @STATION_ACTIVE_MODE
	.comm	_WL1251_DEFAULT_POWER_LEVEL,4,2 ## @WL1251_DEFAULT_POWER_LEVEL
	.comm	_WL1251_DEFAULT_CHANNEL,4,2     ## @WL1251_DEFAULT_CHANNEL
	.no_dead_strip	_wl1251_op_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wl1251_op_stop
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wl1251_op_stop:                        ; @wl1251_op_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wl1251_info
Lloh2:
	adrp	x8, _DEBUG_MAC80211@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEBUG_MAC80211@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wl1251_debug
	add	x20, x19, #32
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _WL1251_STATE_ON@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WL1251_STATE_ON@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	w0, [x19, #140]
	add	x1, sp, #8
	bl	_ieee80211_scan_completed
	str	wzr, [x19, #8]
LBB0_2:
Lloh10:
	adrp	x8, _WL1251_STATE_OFF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WL1251_STATE_OFF@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	bl	_wl1251_disable_interrupts
	mov	x0, x20
	bl	_mutex_unlock
	add	x0, x19, #136
	bl	_cancel_work_sync
	add	x0, x19, #132
	bl	_cancel_work_sync
	add	x0, x19, #128
	bl	_cancel_delayed_work_sync
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x19
	bl	_wl1251_tx_flush
	mov	x0, x19
	bl	_wl1251_power_off
	ldr	w0, [x19, #124]
	bl	_eth_zero_addr
Lloh13:
	adrp	x8, _MAX_BSS_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MAX_BSS_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #120]
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #12]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #72]
	stur	q0, [x19, #88]
	stur	q0, [x19, #104]
Lloh18:
	adrp	x8, _STATION_ACTIVE_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _STATION_ACTIVE_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	str	xzr, [x19, #56]
Lloh21:
	adrp	x8, _WL1251_DEFAULT_POWER_LEVEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WL1251_DEFAULT_POWER_LEVEL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #48]
Lloh24:
	adrp	x8, _WL1251_DEFAULT_CHANNEL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WL1251_DEFAULT_CHANNEL@GOTPAGEOFF]
	str	xzr, [x19, #40]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	str	xzr, [x19, #24]
	str	wzr, [x19, #20]
	mov	x0, x19
	bl	_wl1251_debugfs_reset
	mov	x0, x20
	bl	_mutex_unlock
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"down"

	.comm	_DEBUG_MAC80211,4,2             ; @DEBUG_MAC80211
l_.str.1:                               ; @.str.1
	.asciz	"mac80211 stop"

	.comm	_WL1251_STATE_ON,8,3            ; @WL1251_STATE_ON
	.comm	_WL1251_STATE_OFF,8,3           ; @WL1251_STATE_OFF
	.comm	_MAX_BSS_TYPE,4,2               ; @MAX_BSS_TYPE
	.comm	_STATION_ACTIVE_MODE,4,2        ; @STATION_ACTIVE_MODE
	.comm	_WL1251_DEFAULT_POWER_LEVEL,4,2 ; @WL1251_DEFAULT_POWER_LEVEL
	.comm	_WL1251_DEFAULT_CHANNEL,4,2     ; @WL1251_DEFAULT_CHANNEL
	.no_dead_strip	_wl1251_op_stop
.subsections_via_symbols
