	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_server_stream_is_in_use    ## -- Begin function wfc_server_stream_is_in_use
	.p2align	4, 0x90
_wfc_server_stream_is_in_use:           ## @wfc_server_stream_is_in_use
	.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	$0, -24(%rbp)
	movq	$8, -32(%rbp)
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movslq	%edi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_WFC_IPC_MSG_SS_IS_IN_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movl	%ebx, %esi
	callq	_wfc_client_server_api_sendwait_stream
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	-24(%rbp), %rcx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	sete	%al
	cmpq	$0, -24(%rbp)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: stream 0x%x"

	.comm	_VCOS_FUNCTION,4,2              ## @VCOS_FUNCTION
	.comm	_WFC_IPC_MSG_SS_IS_IN_USE,4,2   ## @WFC_IPC_MSG_SS_IS_IN_USE
L_.str.1:                               ## @.str.1
	.asciz	"%s: status 0x%x, result %u"

	.comm	_VCOS_SUCCESS,8,3               ## @VCOS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_server_stream_is_in_use    ; -- Begin function wfc_server_stream_is_in_use
	.p2align	2
_wfc_server_stream_is_in_use:           ; @wfc_server_stream_is_in_use
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	w8, #8
	stp	x8, xzr, [sp, #16]
Lloh0:
	adrp	x20, _VCOS_FUNCTION@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VCOS_FUNCTION@GOTPAGEOFF]
	ldr	w1, [x20]
	sxtw	x2, w19
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_vcos_log_trace
Lloh4:
	adrp	x8, _WFC_IPC_MSG_SS_IS_IN_USE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WFC_IPC_MSG_SS_IS_IN_USE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x1, x19
	bl	_wfc_client_server_api_sendwait_stream
	mov	x19, x0
	ldr	w1, [x20]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_vcos_log_trace
Lloh9:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x19, x8
	ldr	x8, [sp, #24]
	ccmp	x8, #0, #4, eq
	cset	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: stream 0x%x"

	.comm	_VCOS_FUNCTION,4,2              ; @VCOS_FUNCTION
	.comm	_WFC_IPC_MSG_SS_IS_IN_USE,4,2   ; @WFC_IPC_MSG_SS_IS_IN_USE
l_.str.1:                               ; @.str.1
	.asciz	"%s: status 0x%x, result %u"

	.comm	_VCOS_SUCCESS,8,3               ; @VCOS_SUCCESS
.subsections_via_symbols
