	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_init                      ## -- Begin function vcos_init
	.p2align	4, 0x90
_vcos_init:                             ## @vcos_init
	.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
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_vcos_global_lock
	movq	_init_refcount@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_vcos_platform_init
	movl	%eax, %ebx
LBB0_2:
	xorl	%eax, %eax
	callq	_vcos_global_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCOS_SUCCESS,4,2               ## @VCOS_SUCCESS
	.comm	_init_refcount,4,2              ## @init_refcount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_init                      ; -- Begin function vcos_init
	.p2align	2
_vcos_init:                             ; @vcos_init
	.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
Lloh0:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_vcos_global_lock
Lloh3:
	adrp	x8, _init_refcount@GOTPAGE
Lloh4:
	ldr	x8, [x8, _init_refcount@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cbnz	w9, LBB0_2
; %bb.1:
	bl	_vcos_platform_init
	mov	x19, x0
LBB0_2:
	bl	_vcos_global_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VCOS_SUCCESS,4,2               ; @VCOS_SUCCESS
	.comm	_init_refcount,4,2              ; @init_refcount
.subsections_via_symbols
