	.file	"extr_wfc_client_server_api.c_wfc_server_stream_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: stream 0x%x flags 0x%x pid 0x%x%08x"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s: status 0x%x, result 0x%x"
	.text
	.p2align 4
	.globl	wfc_server_stream_create
	.type	wfc_server_stream_create, @function
wfc_server_stream_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8, rcx
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	movsx	rdx, edi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	mov	rcx, rsi
	mov	r9, rbp
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR VCOS_FUNCTION[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR WFC_INVALID_HANDLE[rip]
	mov	QWORD PTR 8[rsp], 4
	mov	DWORD PTR 4[rsp], eax
	xor	eax, eax
	call	vcos_log_trace@PLT
	mov	eax, DWORD PTR WFC_IPC_MSG_SS_CREATE_INFO[rip]
	xor	esi, esi
	mov	DWORD PTR 56[rsp], r13d
	lea	rdi, 40[rsp]
	mov	edx, 16
	lea	r13, 16[rsp]
	mov	DWORD PTR 16[rsp], eax
	call	memset@PLT
	lea	rcx, 8[rsp]
	lea	rdx, 4[rsp]
	mov	rdi, r13
	mov	esi, 48
	mov	QWORD PTR 24[rsp], rbx
	mov	DWORD PTR 40[rsp], 16
	mov	QWORD PTR 48[rsp], r12
	mov	QWORD PTR 32[rsp], rbp
	call	wfc_client_ipc_sendwait@PLT
	movsx	rcx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR VCOS_FUNCTION[rip]
	lea	rdi, .LC1[rip]
	mov	rbx, rax
	mov	rdx, rax
	xor	eax, eax
	call	vcos_log_trace@PLT
	cmp	QWORD PTR VCOS_SUCCESS[rip], rbx
	mov	eax, DWORD PTR WFC_INVALID_HANDLE[rip]
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
.L1:
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wfc_server_stream_create, .-wfc_server_stream_create
	.comm	WFC_IPC_MSG_SS_CREATE_INFO,4,4
	.comm	WFC_INVALID_HANDLE,4,4
	.comm	VCOS_SUCCESS,8,8
	.comm	VCOS_FUNCTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wfc_client_server_api.c_wfc_server_stream_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: stream 0x%x flags 0x%x pid 0x%x%08x\000"
	.align	2
.LC1:
	.ascii	"%s: status 0x%x, result 0x%x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wfc_server_stream_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	wfc_server_stream_create, %function
wfc_server_stream_create:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	ip, #4
	ldr	r9, .L8
	sub	sp, sp, #48
	ldr	r0, [r9]
	ldr	lr, .L8+4
	ldr	r8, .L8+8
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	lr, [lr]
	str	lr, [sp, #44]
	mov	lr,#0
	mov	r4, r3
	mov	r6, r1
	mov	r3, r1
	mov	r5, r2
	ldr	r1, [r8]
	mov	r2, r7
	str	r0, [sp, #12]
	ldr	r0, .L8+12
	str	ip, [sp, #16]
	bl	vcos_log_trace
	mov	ip, #8
	ldr	r2, .L8+16
	mov	r1, #24
	ldr	lr, [r2]
	add	r3, sp, #16
	add	r2, sp, #12
	add	r0, sp, #20
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #32]
	str	r7, [sp, #40]
	str	r6, [sp, #36]
	str	r5, [sp, #28]
	bl	wfc_client_ipc_sendwait
	mov	r4, r0
	mov	r2, r0
	ldr	r3, [sp, #12]
	ldr	r1, [r8]
	ldr	r0, .L8+20
	bl	vcos_log_trace
	ldr	r3, .L8+24
	ldr	r3, [r3]
	cmp	r3, r4
	ldr	r3, .L8+4
	ldreq	r0, [sp, #12]
	ldrne	r0, [r9]
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	WFC_INVALID_HANDLE
	.word	.LC2
	.word	VCOS_FUNCTION
	.word	.LC0
	.word	WFC_IPC_MSG_SS_CREATE_INFO
	.word	.LC1
	.word	VCOS_SUCCESS
	.size	wfc_server_stream_create, .-wfc_server_stream_create
	.comm	WFC_IPC_MSG_SS_CREATE_INFO,4,4
	.comm	WFC_INVALID_HANDLE,4,4
	.comm	VCOS_SUCCESS,4,4
	.comm	VCOS_FUNCTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
