	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gx_get_video_output_size
_gx_get_video_output_size:              ## @gx_get_video_output_size
	.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	%rdx, %r14
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_global_get_ptr
	movq	(%rax), %rcx
	movq	_GX_RESOLUTIONS_LAST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jbe	LBB0_2
## %bb.1:
	movq	$0, (%rax)
	xorl	%ecx, %ecx
LBB0_2:
	movq	_menu_gx_resolutions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_RESOLUTIONS_LAST,8,3        ## @GX_RESOLUTIONS_LAST
	.comm	_menu_gx_resolutions,8,3        ## @menu_gx_resolutions
	.no_dead_strip	_gx_get_video_output_size
.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_size
_gx_get_video_output_size:              ; @gx_get_video_output_size
	.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, x2
	mov	x20, x1
	bl	_global_get_ptr
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GX_RESOLUTIONS_LAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GX_RESOLUTIONS_LAST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
	mov	x8, #0
	str	xzr, [x0]
LBB0_2:
Lloh3:
	adrp	x9, _menu_gx_resolutions@GOTPAGE
Lloh4:
	ldr	x9, [x9, _menu_gx_resolutions@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w9, [x8]
	str	w9, [x20]
	ldr	w8, [x8, #4]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_RESOLUTIONS_LAST,8,3        ; @GX_RESOLUTIONS_LAST
	.comm	_menu_gx_resolutions,8,3        ; @menu_gx_resolutions
	.no_dead_strip	_gx_get_video_output_size
.subsections_via_symbols
