	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_dummy_thread_create       ## -- Begin function vcos_dummy_thread_create
	.p2align	4, 0x90
_vcos_dummy_thread_create:              ## @vcos_dummy_thread_create
	.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
	movl	$12, %edi
	xorl	%esi, %esi
	callq	_vcos_malloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_vcos_assert
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$1, (%rbx)
	xorl	%eax, %eax
	callq	_pthread_self
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_vcos_semaphore_create
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_current_thread_key_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_current_thread_key_once@GOTPCREL(%rip), %rdi
	callq	_vcos_once
	movq	__vcos_thread_current_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_pthread_setspecific
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	callq	_vcos_free
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCOS_SUCCESS,8,3               ## @VCOS_SUCCESS
	.comm	_current_thread_key_once,4,2    ## @current_thread_key_once
	.comm	_current_thread_key_init,4,2    ## @current_thread_key_init
	.comm	__vcos_thread_current_key,4,2   ## @_vcos_thread_current_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_dummy_thread_create       ; -- Begin function vcos_dummy_thread_create
	.p2align	2
_vcos_dummy_thread_create:              ; @vcos_dummy_thread_create
	.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
	mov	w0, #12
	mov	x1, #0
	bl	_vcos_malloc
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_vcos_assert
	mov	x0, x19
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w8, #1
	str	w8, [x19]
	bl	_pthread_self
	str	w0, [x19, #8]
	add	x0, x19, #4
	mov	x1, #0
	mov	w2, #0
	bl	_vcos_semaphore_create
Lloh0:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _current_thread_key_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current_thread_key_init@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _current_thread_key_once@GOTPAGE
Lloh7:
	ldr	x0, [x0, _current_thread_key_once@GOTPAGEOFF]
	bl	_vcos_once
Lloh8:
	adrp	x8, __vcos_thread_current_key@GOTPAGE
Lloh9:
	ldr	x8, [x8, __vcos_thread_current_key@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pthread_setspecific
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_vcos_free
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VCOS_SUCCESS,8,3               ; @VCOS_SUCCESS
	.comm	_current_thread_key_once,4,2    ; @current_thread_key_once
	.comm	_current_thread_key_init,4,2    ; @current_thread_key_init
	.comm	__vcos_thread_current_key,4,2   ; @_vcos_thread_current_key
.subsections_via_symbols
