	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispmanx_vsync_callback
_dispmanx_vsync_callback:               ## @dispmanx_vsync_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%rax), %edi
	callq	_slock_lock
	movq	(%r14), %rax
	movl	$0, (%rax)
	movl	16(%rax), %edi
	callq	_slock_unlock
LBB0_2:
	movq	%rbx, (%r14)
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_slock_lock
	movq	8(%rbx), %rax
	decl	8(%rax)
	movl	4(%rax), %edi
	callq	_scond_signal
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_slock_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dispmanx_vsync_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispmanx_vsync_callback
_dispmanx_vsync_callback:               ; @dispmanx_vsync_callback
	.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	x19, x1
	ldr	x20, [x1, #24]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8, #16]
	bl	_slock_lock
	ldr	x8, [x20]
	str	wzr, [x8]
	ldr	w0, [x8, #16]
	bl	_slock_unlock
LBB0_2:
	str	x19, [x20]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_slock_lock
	ldr	x8, [x19, #8]
	ldp	w0, w9, [x8, #4]
	sub	w9, w9, #1
	str	w9, [x8, #8]
	bl	_scond_signal
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_slock_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dispmanx_vsync_callback
.subsections_via_symbols
