	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_stop
_p54_stop:                              ## @p54_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	$0, 64(%rbx)
	leaq	56(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_p54_set_leds
	movq	%r14, %rdi
	callq	*48(%rbx)
	leaq	44(%rbx), %rdi
	callq	_skb_queue_purge
	leaq	40(%rbx), %rdi
	callq	_skb_queue_purge
	movq	_P54_QUEUE_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	movq	32(%rbx), %rdi
	shlq	$4, %rsi
	callq	___bzero
LBB0_2:
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_QUEUE_NUM,4,2              ## @P54_QUEUE_NUM
	.no_dead_strip	_p54_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_stop
_p54_stop:                              ; @p54_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	str	xzr, [x19, #64]
	add	x0, x19, #56
	bl	_cancel_delayed_work_sync
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x19
	bl	_p54_set_leds
	ldr	x8, [x19, #48]
	mov	x0, x20
	blr	x8
	add	x0, x19, #44
	bl	_skb_queue_purge
	add	x0, x19, #40
	bl	_skb_queue_purge
Lloh3:
	adrp	x8, _P54_QUEUE_NUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P54_QUEUE_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19, #32]
	lsl	x1, x8, #4
	bl	_bzero
LBB0_2:
	mov	w0, #0
	bl	_cpu_to_le32
	str	w0, [x19, #24]
	stp	xzr, xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_QUEUE_NUM,4,2              ; @P54_QUEUE_NUM
	.no_dead_strip	_p54_stop
.subsections_via_symbols
