	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_freesync_get_v_position    ## -- Begin function mod_freesync_get_v_position
	.p2align	4, 0x90
_mod_freesync_get_v_position:           ## @mod_freesync_get_v_position
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -40(%rbp)
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_MOD_FREESYNC_TO_CORE
	movl	(%rax), %edi
	leaq	-28(%rbp), %r8
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rcx
	movl	$1, %edx
	callq	_dc_stream_get_crtc_position
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-28(%rbp), %eax
	movl	%eax, (%r15)
	movl	-32(%rbp), %eax
	movl	%eax, (%r14)
	movl	$1, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_freesync_get_v_position    ; -- Begin function mod_freesync_get_v_position
	.p2align	2
_mod_freesync_get_v_position:           ; @mod_freesync_get_v_position
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	x1, [sp, #8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	bl	_MOD_FREESYNC_TO_CORE
	ldr	w0, [x0]
	mov	x8, sp
	orr	x4, x8, #0x4
	add	x1, sp, #8
	mov	x3, sp
	mov	w2, #1
	bl	_dc_stream_get_crtc_position
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w9, w8, [sp]
	str	w8, [x20]
	str	w9, [x19]
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
