	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_server_create_context      ## -- Begin function wfc_server_create_context
	.p2align	4, 0x90
_wfc_server_create_context:             ## @wfc_server_create_context
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	$-1, -48(%rbp)
	movq	$8, -56(%rbp)
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%edi, %rbx
	movq	%rcx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_WFC_IPC_MSG_CREATE_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movl	%ebx, -64(%rbp)
	movq	%r13, -72(%rbp)
	movq	%r12, -80(%rbp)
	movq	%r15, -88(%rbp)
	movq	%r14, -96(%rbp)
	leaq	-104(%rbp), %rdi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	$48, %esi
	callq	_wfc_client_ipc_sendwait
	movq	%rax, %rbx
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vcos_log_trace
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rcx
	movq	$-1, %rax
	cmpq	(%rcx), %rbx
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rax
LBB0_2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: context 0x%x type 0x%x num 0x%x pid 0x%x%08x"

	.comm	_VCOS_FUNCTION,4,2              ## @VCOS_FUNCTION
	.comm	_WFC_IPC_MSG_CREATE_CONTEXT,4,2 ## @WFC_IPC_MSG_CREATE_CONTEXT
L_.str.1:                               ## @.str.1
	.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_create_context      ; -- Begin function wfc_server_create_context
	.p2align	2
_wfc_server_create_context:             ; @wfc_server_create_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x9, #-1
	mov	w8, #8
	stp	x8, x9, [sp, #32]
Lloh0:
	adrp	x24, _VCOS_FUNCTION@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VCOS_FUNCTION@GOTPAGEOFF]
	ldr	w1, [x24]
	sxtw	x2, w23
	stp	x4, x3, [sp, #8]
	str	x21, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x22
	bl	_vcos_log_trace
Lloh4:
	adrp	x8, _WFC_IPC_MSG_CREATE_CONTEXT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WFC_IPC_MSG_CREATE_CONTEXT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	str	w23, [sp, #88]
	stp	x21, x22, [sp, #72]
	stp	x19, x20, [sp, #56]
	add	x0, sp, #48
	add	x2, sp, #40
	add	x3, sp, #32
	mov	w1, #48
	bl	_wfc_client_ipc_sendwait
	mov	x19, x0
	ldr	w1, [x24]
	ldr	x3, [sp, #40]
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]
	ldr	x9, [sp, #40]
	cmp	x19, x8
	csinv	x0, x9, xzr, eq
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	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: context 0x%x type 0x%x num 0x%x pid 0x%x%08x"

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

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