	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_op_stop                     ## -- Begin function zd_op_stop
	.p2align	4, 0x90
_zd_op_stop:                            ## @zd_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_zd_hw_mac
	movq	%rax, %r15
	leaq	8(%rax), %r14
	leaq	4(%rax), %rbx
	movq	_ZD_DEVICE_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	%r14, %rdi
	callq	_zd_chip_disable_rxtx
	movq	%r15, %rdi
	callq	_beacon_disable
	movq	%r15, %rdi
	callq	_housekeeping_disable
	movq	_zd_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_flush_workqueue
	movq	%r14, %rdi
	callq	_zd_chip_disable_hwint
	movq	%r14, %rdi
	callq	_zd_chip_switch_radio_off
	movq	%r14, %rdi
	callq	_zd_chip_disable_int
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZD_DEVICE_RUNNING,4,2          ## @ZD_DEVICE_RUNNING
	.comm	_zd_workqueue,4,2               ## @zd_workqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_op_stop                     ; -- Begin function zd_op_stop
	.p2align	2
_zd_op_stop:                            ; @zd_op_stop
	.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
	bl	_zd_hw_mac
	mov	x20, x0
	add	x21, x0, #8
	add	x19, x0, #4
Lloh0:
	adrp	x8, _ZD_DEVICE_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZD_DEVICE_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	mov	x0, x21
	bl	_zd_chip_disable_rxtx
	mov	x0, x20
	bl	_beacon_disable
	mov	x0, x20
	bl	_housekeeping_disable
Lloh3:
	adrp	x8, _zd_workqueue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zd_workqueue@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_flush_workqueue
	mov	x0, x21
	bl	_zd_chip_disable_hwint
	mov	x0, x21
	bl	_zd_chip_switch_radio_off
	mov	x0, x21
	bl	_zd_chip_disable_int
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_skb_dequeue
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_dev_kfree_skb_any
	b	LBB0_1
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ZD_DEVICE_RUNNING,4,2          ; @ZD_DEVICE_RUNNING
	.comm	_zd_workqueue,4,2               ; @zd_workqueue
.subsections_via_symbols
