	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vcos_task_timer_set           ## -- Begin function _vcos_task_timer_set
	.p2align	4, 0x90
__vcos_task_timer_set:                  ## @_vcos_task_timer_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_vcos_thread_current
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_vcos_assert
	cmpl	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	leaq	12(%rbx), %rdi
	movq	__task_timer_expiration_routine@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_vcos_timer_create
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_vcos_assert
	movl	$1, 8(%rbx)
LBB0_3:
	movq	%r12, (%rbx)
	movq	%r15, 16(%rbx)
	addq	$12, %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vcos_timer_set                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__task_timer_expiration_routine,4,2 ## @_task_timer_expiration_routine
	.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	__vcos_task_timer_set           ; -- Begin function _vcos_task_timer_set
	.p2align	2
__vcos_task_timer_set:                  ; @_vcos_task_timer_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_vcos_thread_current
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_vcos_assert
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	add	x0, x22, #12
Lloh0:
	adrp	x8, __task_timer_expiration_routine@GOTPAGE
Lloh1:
	ldr	x8, [x8, __task_timer_expiration_routine@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, #0
	mov	x3, x22
	bl	_vcos_timer_create
Lloh3:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_vcos_assert
	mov	w8, #1
	str	w8, [x22, #8]
LBB0_3:
	str	x21, [x22]
	str	x20, [x22, #16]
	add	x0, x22, #12
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vcos_timer_set
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__task_timer_expiration_routine,4,2 ; @_task_timer_expiration_routine
	.comm	_VCOS_SUCCESS,8,3               ; @VCOS_SUCCESS
.subsections_via_symbols
