	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gx_get_video_output_prev
_gx_get_video_output_prev:              ## @gx_get_video_output_prev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_global_get_ptr
	movq	(%rax), %rcx
	subq	$1, %rcx
	jae	LBB0_2
## %bb.1:
	movq	_GX_RESOLUTIONS_LAST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_2:
	movq	%rcx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_RESOLUTIONS_LAST,8,3        ## @GX_RESOLUTIONS_LAST
	.no_dead_strip	_gx_get_video_output_prev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gx_get_video_output_prev
_gx_get_video_output_prev:              ; @gx_get_video_output_prev
	.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
	bl	_global_get_ptr
	ldr	x8, [x0]
	sub	x9, x8, #1
Lloh0:
	adrp	x10, _GX_RESOLUTIONS_LAST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GX_RESOLUTIONS_LAST@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [x0]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_RESOLUTIONS_LAST,8,3        ; @GX_RESOLUTIONS_LAST
	.no_dead_strip	_gx_get_video_output_prev
.subsections_via_symbols
