	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_server_stream_create_info  ## -- Begin function wfc_server_stream_create_info
	.p2align	4, 0x90
_wfc_server_stream_create_info:         ## @wfc_server_stream_create_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_WFC_INVALID_HANDLE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)
	movq	$4, -56(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	(%rsi), %edx
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$7, %edx
	ja	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_vcos_log_error
	jmp	LBB0_7
LBB0_1:
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_vcos_log_error
	jmp	LBB0_7
LBB0_4:
	movq	%rcx, %r14
	movslq	%edi, %r12
	movl	4(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rdx
	movq	%r14, %r8
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_WFC_IPC_MSG_SS_CREATE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	%r12d, -64(%rbp)
	movl	(%rbx), %edi
	movl	$8, %esi
	callq	_vcos_min
	movq	%rax, %r12
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movq	%r12, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	%r14, -88(%rbp)
	leaq	-96(%rbp), %rdi
	leaq	-44(%rbp), %r14
	leaq	-56(%rbp), %rcx
	movl	$40, %esi
	movq	%r14, %rdx
	callq	_wfc_client_ipc_sendwait
	movq	%rax, %rbx
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %ecx
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_6
## %bb.5:
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)
LBB0_6:
	movq	%r14, %r13
LBB0_7:
	movl	(%r13), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WFC_INVALID_HANDLE,4,2         ## @WFC_INVALID_HANDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: NULL info pointer passed"

	.comm	_VCOS_FUNCTION,4,2              ## @VCOS_FUNCTION
L_.str.1:                               ## @.str.1
	.asciz	"%s: invalid info pointer passed (size:%u)"

L_.str.2:                               ## @.str.2
	.asciz	"%s: stream 0x%x flags 0x%x pid 0x%x%08x"

	.comm	_WFC_IPC_MSG_SS_CREATE_INFO,4,2 ## @WFC_IPC_MSG_SS_CREATE_INFO
L_.str.3:                               ## @.str.3
	.asciz	"%s: status 0x%x, result 0x%x"

	.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_create_info  ; -- Begin function wfc_server_stream_create_info
	.p2align	2
_wfc_server_stream_create_info:         ; @wfc_server_stream_create_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x23, _WFC_INVALID_HANDLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _WFC_INVALID_HANDLE@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [sp, #36]
	mov	w8, #4
	str	x8, [sp, #24]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	w8, [x1]
Lloh2:
	adrp	x24, _VCOS_FUNCTION@GOTPAGE
Lloh3:
	ldr	x24, [x24, _VCOS_FUNCTION@GOTPAGEOFF]
	ldr	w1, [x24]
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.2:
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _VCOS_FUNCTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VCOS_FUNCTION@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_vcos_log_error
Lloh11:
	adrp	x20, _WFC_INVALID_HANDLE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _WFC_INVALID_HANDLE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x0
	sxtw	x2, w22
	ldr	w3, [x21, #4]
	stp	x19, x20, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_vcos_log_trace
Lloh15:
	adrp	x8, _WFC_IPC_MSG_SS_CREATE_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WFC_IPC_MSG_SS_CREATE_INFO@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	w22, [sp, #72]
	ldr	w0, [x21]
	mov	w1, #8
	bl	_vcos_min
	mov	x22, x0
	add	x8, sp, #40
	add	x0, x8, #24
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	stp	x20, x22, [sp, #56]
	str	x19, [sp, #48]
	add	x20, sp, #36
	add	x0, sp, #40
	add	x2, sp, #36
	add	x3, sp, #24
	mov	w1, #40
	bl	_wfc_client_ipc_sendwait
	mov	x19, x0
	ldr	w1, [x24]
	ldr	w3, [sp, #36]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_vcos_log_trace
Lloh20:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x19, x8
	b.eq	LBB0_5
; %bb.7:
	ldr	w8, [x23]
	str	w8, [sp, #36]
	add	x20, sp, #36
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WFC_INVALID_HANDLE,4,2         ; @WFC_INVALID_HANDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: NULL info pointer passed"

	.comm	_VCOS_FUNCTION,4,2              ; @VCOS_FUNCTION
l_.str.1:                               ; @.str.1
	.asciz	"%s: invalid info pointer passed (size:%u)"

l_.str.2:                               ; @.str.2
	.asciz	"%s: stream 0x%x flags 0x%x pid 0x%x%08x"

	.comm	_WFC_IPC_MSG_SS_CREATE_INFO,4,2 ; @WFC_IPC_MSG_SS_CREATE_INFO
l_.str.3:                               ; @.str.3
	.asciz	"%s: status 0x%x, result 0x%x"

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