	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_stream_get_scanoutpos       ## -- Begin function dc_stream_get_scanoutpos
	.p2align	4, 0x90
_dc_stream_get_scanoutpos:              ## @dc_stream_get_scanoutpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_PIPES@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%eax, %eax
	testq	%r9, %r9
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %r10
	movq	(%r10), %r10
	movq	(%r10), %r10
	movq	(%r10), %r10
	addq	$8, %r10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, -8(%r10)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r10
	decq	%r9
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	(%r10), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PIPES,8,3                  ## @MAX_PIPES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_stream_get_scanoutpos       ; -- Begin function dc_stream_get_scanoutpos
	.p2align	2
_dc_stream_get_scanoutpos:              ; @dc_stream_get_scanoutpos
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _MAX_PIPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PIPES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x9]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PIPES,8,3                  ; @MAX_PIPES
.subsections_via_symbols
