	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_ctx_ps3_get_video_output_next
_gfx_ctx_ps3_get_video_output_next:     ## @gfx_ctx_ps3_get_video_output_next
	.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
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movslq	4(%rax), %rcx
	leal	1(%rcx), %edx
	cmpl	(%rax), %edx
	jge	LBB0_3
## %bb.2:
	movl	%edx, 4(%rax)
	movq	16(%rax), %rdx
	movl	4(%rdx,%rcx,4), %ecx
	movl	%ecx, 8(%rax)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_ctx_ps3_get_video_output_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_ctx_ps3_get_video_output_next
_gfx_ctx_ps3_get_video_output_next:     ; @gfx_ctx_ps3_get_video_output_next
	.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
	cbz	x0, LBB0_3
; %bb.1:
	ldp	w9, w8, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x8, x8, #1
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	str	w8, [x0, #4]
	ldr	x9, [x0, #16]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x0, #8]
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_ctx_ps3_get_video_output_next
.subsections_via_symbols
