	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function airspy_stop_streaming
_airspy_stop_streaming:                 ## @airspy_stop_streaming
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_vb2_get_drv_priv
	movq	%rax, %rbx
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_CMD_RECEIVER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_airspy_ctrl_msg
	movq	%rbx, %rdi
	callq	_airspy_kill_urbs
	movq	%rbx, %rdi
	callq	_airspy_free_urbs
	movq	%rbx, %rdi
	callq	_airspy_free_stream_bufs
	movq	%rbx, %rdi
	callq	_airspy_cleanup_queued_bufs
	movq	_POWER_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_clear_bit
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_CMD_RECEIVER_MODE,4,2          ## @CMD_RECEIVER_MODE
	.comm	_POWER_ON,4,2                   ## @POWER_ON
	.no_dead_strip	_airspy_stop_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function airspy_stop_streaming
_airspy_stop_streaming:                 ; @airspy_stop_streaming
	.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
	bl	_vb2_get_drv_priv
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	x0, x19
	bl	_mutex_lock
Lloh2:
	adrp	x8, _CMD_RECEIVER_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_RECEIVER_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	bl	_airspy_ctrl_msg
	mov	x0, x19
	bl	_airspy_kill_urbs
	mov	x0, x19
	bl	_airspy_free_urbs
	mov	x0, x19
	bl	_airspy_free_stream_bufs
	mov	x0, x19
	bl	_airspy_cleanup_queued_bufs
Lloh5:
	adrp	x8, _POWER_ON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _POWER_ON@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_clear_bit
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_CMD_RECEIVER_MODE,4,2          ; @CMD_RECEIVER_MODE
	.comm	_POWER_ON,4,2                   ; @POWER_ON
	.no_dead_strip	_airspy_stop_streaming
.subsections_via_symbols
