	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function VIDEOMODE_Initialise
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_VIDEOMODE_Initialise
	.p2align	4, 0x90
_VIDEOMODE_Initialise:                  ## @VIDEOMODE_Initialise
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	cmpl	$2, %ebx
	jl	LBB0_74
## %bb.1:
	movq	%rsi, %r12
	movl	$1, %r13d
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r13), %r15d
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r13d, %r14
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_32
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_34
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_42
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_44
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_50
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_58
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_60
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_63
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.23(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.25(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	_VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.26(%rip), %rdi
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_Log_print
	movq	_VIDEOMODE_MAX_VERTICAL_AREA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.27(%rip), %rdi
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.28(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.30(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.31(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.32(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.33(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.34(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.35(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rax
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	incl	%edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rax, (%r12,%rcx,8)
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_Util_sscandec
	movq	_window_resolution@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_Util_sscandec
	movq	_window_resolution@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_Util_sscandec
	movq	_init_fs_resolution@GOTPCREL(%rip), %rcx
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rcx)
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r12d, %r12d
	cmpl	$-1, %eax
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	sete	%r12b
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %r14
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_Util_sscandec
	movq	_init_fs_resolution@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_26
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_VIDEOMODE_windowed@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r15d
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_windowed@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r15d
	jmp	LBB0_28
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	movq	_horizontal_area_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_HORIZONTAL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_47
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_horizontal_area@GOTPCREL(%rip), %rcx
	jmp	LBB0_40
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	movq	_vertical_area_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_VERTICAL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_54
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_vertical_area@GOTPCREL(%rip), %rcx
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rcx)
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	jmp	LBB0_28
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	movq	_VIDEOMODE_horizontal_offset@GOTPCREL(%rip), %rsi
	jmp	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.45:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	movq	_VIDEOMODE_vertical_offset@GOTPCREL(%rip), %rsi
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_Util_sscansdec
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jmp	LBB0_27
LBB0_47:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_HORIZONTAL_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_horizontal_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx,%r14,8), %rdi
	callq	_Util_sscandec
	movq	_VIDEOMODE_custom_horizontal_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movb	$1, %dl
	cmpl	$-1, %eax
	je	LBB0_62
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jl	LBB0_71
## %bb.49:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPCREL(%rip), %rcx
	jmp	LBB0_57
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.51:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %rdi
	movq	_stretch_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_STRETCH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	movq	_FALSE@GOTPCREL(%rip), %r14
	js	LBB0_72
## %bb.52:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_stretch@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_53:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
LBB0_54:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_VERTICAL_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_vertical_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx,%r14,8), %rdi
	callq	_Util_sscandec
	movq	_VIDEOMODE_custom_vertical_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movb	$1, %dl
	cmpl	$-1, %eax
	movq	_FALSE@GOTPCREL(%rip), %r14
	je	LBB0_70
## %bb.55:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_MIN_VERTICAL_AREA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jl	LBB0_71
## %bb.56:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_MAX_VERTICAL_AREA@GOTPCREL(%rip), %rcx
LBB0_57:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%rcx), %eax
	setg	%dl
	jmp	LBB0_71
LBB0_58:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.59:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	movq	_fit_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_FIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	movq	_VIDEOMODE_fit@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_41
LBB0_60:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.61:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	movq	_keep_aspect_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_KEEP_ASPECT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	movq	_VIDEOMODE_keep_aspect@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_41
LBB0_62:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %r14
LBB0_70:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_71:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %ecx
	movzbl	%dl, %r12d
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
LBB0_63:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_66
## %bb.64:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	_FALSE@GOTPCREL(%rip), %r14
	je	LBB0_73
## %bb.65:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r12,8), %rdi
	movq	_VIDEOMODE_host_aspect_ratio_w@GOTPCREL(%rip), %rsi
	movq	_VIDEOMODE_host_aspect_ratio_h@GOTPCREL(%rip), %rdx
	callq	_ParseAspectRatio
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %r15d
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_75
LBB0_68:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_76
## %bb.69:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movl	%r15d, %r13d
	cmpl	%ebx, %r15d
	jl	LBB0_2
	jmp	LBB0_74
LBB0_72:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_STRETCH_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_stretch@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx,%r12,8), %rdi
	movq	_VIDEOMODE_custom_stretch@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_Util_sscandouble
	testl	%eax, %eax
	sete	%al
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	(%rbx), %xmm0
	seta	%dl
	orb	%al, %dl
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movzbl	%dl, %r12d
	testl	%ecx, %ecx
	je	LBB0_68
	jmp	LBB0_75
LBB0_73:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_VIDEOMODE_host_aspect_ratio_h@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_VIDEOMODE_host_aspect_ratio_w@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_53
LBB0_74:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %r14
	jmp	LBB0_78
LBB0_75:
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	leaq	L_.str.36(%rip), %rdi
	jmp	LBB0_77
LBB0_76:
	movslq	%r15d, %rax
	movq	-8(%r12,%rax,8), %rsi
	leaq	L_.str.37(%rip), %rdi
LBB0_77:
	xorl	%eax, %eax
	callq	_Log_print
LBB0_78:
	movl	(%r14), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-win-width"

	.comm	_window_resolution,8,2          ## @window_resolution
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"-win-height"

L_.str.2:                               ## @.str.2
	.asciz	"-fs-width"

	.comm	_init_fs_resolution,8,2         ## @init_fs_resolution
L_.str.3:                               ## @.str.3
	.asciz	"-fs-height"

L_.str.4:                               ## @.str.4
	.asciz	"-fullscreen"

	.comm	_VIDEOMODE_windowed,4,2         ## @VIDEOMODE_windowed
L_.str.5:                               ## @.str.5
	.asciz	"-windowed"

L_.str.6:                               ## @.str.6
	.asciz	"-horiz-area"

	.comm	_horizontal_area_cfg_strings,4,2 ## @horizontal_area_cfg_strings
	.comm	_VIDEOMODE_HORIZONTAL_SIZE,4,2  ## @VIDEOMODE_HORIZONTAL_SIZE
	.comm	_VIDEOMODE_HORIZONTAL_CUSTOM,4,2 ## @VIDEOMODE_HORIZONTAL_CUSTOM
	.comm	_VIDEOMODE_horizontal_area,4,2  ## @VIDEOMODE_horizontal_area
	.comm	_VIDEOMODE_custom_horizontal_area,4,2 ## @VIDEOMODE_custom_horizontal_area
	.comm	_VIDEOMODE_MIN_HORIZONTAL_AREA,4,2 ## @VIDEOMODE_MIN_HORIZONTAL_AREA
	.comm	_VIDEOMODE_MAX_HORIZONTAL_AREA,4,2 ## @VIDEOMODE_MAX_HORIZONTAL_AREA
L_.str.7:                               ## @.str.7
	.asciz	"-vert-area"

	.comm	_vertical_area_cfg_strings,4,2  ## @vertical_area_cfg_strings
	.comm	_VIDEOMODE_VERTICAL_SIZE,4,2    ## @VIDEOMODE_VERTICAL_SIZE
	.comm	_VIDEOMODE_VERTICAL_CUSTOM,4,2  ## @VIDEOMODE_VERTICAL_CUSTOM
	.comm	_VIDEOMODE_vertical_area,4,2    ## @VIDEOMODE_vertical_area
	.comm	_VIDEOMODE_custom_vertical_area,4,2 ## @VIDEOMODE_custom_vertical_area
	.comm	_VIDEOMODE_MIN_VERTICAL_AREA,4,2 ## @VIDEOMODE_MIN_VERTICAL_AREA
	.comm	_VIDEOMODE_MAX_VERTICAL_AREA,4,2 ## @VIDEOMODE_MAX_VERTICAL_AREA
L_.str.8:                               ## @.str.8
	.asciz	"-horiz-shift"

	.comm	_VIDEOMODE_horizontal_offset,4,2 ## @VIDEOMODE_horizontal_offset
L_.str.9:                               ## @.str.9
	.asciz	"-vert-shift"

	.comm	_VIDEOMODE_vertical_offset,4,2  ## @VIDEOMODE_vertical_offset
L_.str.10:                              ## @.str.10
	.asciz	"-stretch"

	.comm	_stretch_cfg_strings,4,2        ## @stretch_cfg_strings
	.comm	_VIDEOMODE_STRETCH_SIZE,4,2     ## @VIDEOMODE_STRETCH_SIZE
	.comm	_VIDEOMODE_STRETCH_CUSTOM,4,2   ## @VIDEOMODE_STRETCH_CUSTOM
	.comm	_VIDEOMODE_stretch,4,2          ## @VIDEOMODE_stretch
	.comm	_VIDEOMODE_custom_stretch,8,3   ## @VIDEOMODE_custom_stretch
L_.str.11:                              ## @.str.11
	.asciz	"-fit-screen"

	.comm	_fit_cfg_strings,4,2            ## @fit_cfg_strings
	.comm	_VIDEOMODE_FIT_SIZE,4,2         ## @VIDEOMODE_FIT_SIZE
	.comm	_VIDEOMODE_fit,8,3              ## @VIDEOMODE_fit
L_.str.12:                              ## @.str.12
	.asciz	"-image-aspect"

	.comm	_keep_aspect_cfg_strings,4,2    ## @keep_aspect_cfg_strings
	.comm	_VIDEOMODE_KEEP_ASPECT_SIZE,4,2 ## @VIDEOMODE_KEEP_ASPECT_SIZE
	.comm	_VIDEOMODE_keep_aspect,8,3      ## @VIDEOMODE_keep_aspect
L_.str.13:                              ## @.str.13
	.asciz	"-host-aspect-ratio"

L_.str.14:                              ## @.str.14
	.asciz	"auto"

	.comm	_VIDEOMODE_host_aspect_ratio_h,8,3 ## @VIDEOMODE_host_aspect_ratio_h
	.comm	_VIDEOMODE_host_aspect_ratio_w,8,3 ## @VIDEOMODE_host_aspect_ratio_w
L_.str.15:                              ## @.str.15
	.asciz	"-help"

L_.str.16:                              ## @.str.16
	.asciz	"\t-win-width <num>            Host window width"

L_.str.17:                              ## @.str.17
	.asciz	"\t-win-height <num>           Host window height"

L_.str.18:                              ## @.str.18
	.asciz	"\t-fs-width <num>             Host fullscreen width"

L_.str.19:                              ## @.str.19
	.asciz	"\t-fs-height <num>            Host fullscreen height"

L_.str.20:                              ## @.str.20
	.asciz	"\t-fullscreen                 Run fullscreen"

L_.str.21:                              ## @.str.21
	.asciz	"\t-windowed                   Run in window"

L_.str.22:                              ## @.str.22
	.asciz	"\t-horiz-area narrow|tv|full|<number>"

L_.str.23:                              ## @.str.23
	.asciz	"\t                            Set horizontal view area"

L_.str.24:                              ## @.str.24
	.asciz	"\t-vert-area short|tv|full|<number>"

L_.str.25:                              ## @.str.25
	.asciz	"\t                            Set vertical view area"

L_.str.26:                              ## @.str.26
	.asciz	"\t-horiz-shift <num>          Set horizontal shift of the visible area (-%i..%i)"

L_.str.27:                              ## @.str.27
	.asciz	"\t-vert-shift <num>           Set vertical shift of the visible area (-%i..%i)"

L_.str.28:                              ## @.str.28
	.asciz	"\t-stretch none|integral|full|<number>"

L_.str.29:                              ## @.str.29
	.asciz	"\t                            Set method of image stretching"

L_.str.30:                              ## @.str.30
	.asciz	"\t-fit-screen width|height|both"

L_.str.31:                              ## @.str.31
	.asciz	"\t                            Set method of image fitting the screen"

L_.str.32:                              ## @.str.32
	.asciz	"\t-image-aspect none|square-pixels|real"

L_.str.33:                              ## @.str.33
	.asciz	"\t                            Set image aspect ratio"

L_.str.34:                              ## @.str.34
	.asciz	"\t-host-aspect-ratio auto|<w>:<h>"

L_.str.35:                              ## @.str.35
	.asciz	"\t                            Set host display aspect ratio"

L_.str.36:                              ## @.str.36
	.asciz	"Missing argument for '%s'"

L_.str.37:                              ## @.str.37
	.asciz	"Invalid argument for '%s'"

	.comm	_VIDEOMODE_80_column,4,2        ## @VIDEOMODE_80_column
	.comm	_VIDEOMODE_MODE_XEP80,8,3       ## @VIDEOMODE_MODE_XEP80
	.comm	_VIDEOMODE_rotate90,4,2         ## @VIDEOMODE_rotate90
	.comm	_display_modes,8,3              ## @display_modes
	.comm	_xep80_aspect_ratio_ntsc,4,2    ## @xep80_aspect_ratio_ntsc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEOMODE_Initialise           ; -- Begin function VIDEOMODE_Initialise
	.p2align	2
_VIDEOMODE_Initialise:                  ; @VIDEOMODE_Initialise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldr	w28, [x0]
	cmp	w28, #2
	b.lt	LBB0_71
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _FALSE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	fmov	d8, #1.00000000
	mov	w26, #1
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x25, w26
	add	x23, x25, #1
	ldr	w24, [x27]
	ldr	x0, [x20, w26, sxtw #3]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_28
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_30
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_33
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_36
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_40
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_42
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_48
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh24:
	adrp	x1, l_.str.11@PAGE
Lloh25:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_56
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh26:
	adrp	x1, l_.str.12@PAGE
Lloh27:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_58
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh28:
	adrp	x1, l_.str.13@PAGE
Lloh29:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x25, lsl #3]
Lloh30:
	adrp	x1, l_.str.15@PAGE
Lloh31:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh32:
	adrp	x0, l_.str.16@PAGE
Lloh33:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_Log_print
Lloh34:
	adrp	x0, l_.str.17@PAGE
Lloh35:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_Log_print
Lloh36:
	adrp	x0, l_.str.18@PAGE
Lloh37:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_Log_print
Lloh38:
	adrp	x0, l_.str.19@PAGE
Lloh39:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_Log_print
Lloh40:
	adrp	x0, l_.str.20@PAGE
Lloh41:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_Log_print
Lloh42:
	adrp	x0, l_.str.21@PAGE
Lloh43:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_Log_print
Lloh44:
	adrp	x0, l_.str.22@PAGE
Lloh45:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_Log_print
Lloh46:
	adrp	x0, l_.str.23@PAGE
Lloh47:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_Log_print
Lloh48:
	adrp	x0, l_.str.24@PAGE
Lloh49:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_Log_print
Lloh50:
	adrp	x0, l_.str.25@PAGE
Lloh51:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_Log_print
Lloh52:
	adrp	x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGE
Lloh53:
	ldr	x8, [x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	stp	x8, x8, [sp]
Lloh55:
	adrp	x0, l_.str.26@PAGE
Lloh56:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_Log_print
Lloh57:
	adrp	x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGE
Lloh58:
	ldr	x8, [x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	stp	x8, x8, [sp]
Lloh60:
	adrp	x0, l_.str.27@PAGE
Lloh61:
	add	x0, x0, l_.str.27@PAGEOFF
	bl	_Log_print
Lloh62:
	adrp	x0, l_.str.28@PAGE
Lloh63:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_Log_print
Lloh64:
	adrp	x0, l_.str.29@PAGE
Lloh65:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_Log_print
Lloh66:
	adrp	x0, l_.str.30@PAGE
Lloh67:
	add	x0, x0, l_.str.30@PAGEOFF
	bl	_Log_print
Lloh68:
	adrp	x0, l_.str.31@PAGE
Lloh69:
	add	x0, x0, l_.str.31@PAGEOFF
	bl	_Log_print
Lloh70:
	adrp	x0, l_.str.32@PAGE
Lloh71:
	add	x0, x0, l_.str.32@PAGEOFF
	bl	_Log_print
Lloh72:
	adrp	x0, l_.str.33@PAGE
Lloh73:
	add	x0, x0, l_.str.33@PAGEOFF
	bl	_Log_print
Lloh74:
	adrp	x0, l_.str.34@PAGE
Lloh75:
	add	x0, x0, l_.str.34@PAGEOFF
	bl	_Log_print
Lloh76:
	adrp	x0, l_.str.35@PAGE
Lloh77:
	add	x0, x0, l_.str.35@PAGEOFF
	bl	_Log_print
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, x25, lsl #3]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	str	x8, [x20, w9, sxtw #3]
	add	w9, w9, #1
	mov	x8, x24
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_65
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x23, lsl #3]
	bl	_Util_sscandec
Lloh78:
	adrp	x8, _window_resolution@GOTPAGE
Lloh79:
	ldr	x8, [x8, _window_resolution@GOTPAGEOFF]
	b	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
	bl	_Util_sscandec
Lloh80:
	adrp	x8, _window_resolution@GOTPAGE
Lloh81:
	ldr	x8, [x8, _window_resolution@GOTPAGEOFF]
Lloh82:
	str	w0, [x8, #4]
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
	bl	_Util_sscandec
Lloh83:
	adrp	x8, _init_fs_resolution@GOTPAGE
Lloh84:
	ldr	x8, [x8, _init_fs_resolution@GOTPAGEOFF]
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w0, [x8]
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x24
	cset	w24, eq
	cbz	w8, LBB0_66
	b	LBB0_70
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
	bl	_Util_sscandec
Lloh85:
	adrp	x8, _init_fs_resolution@GOTPAGE
Lloh86:
	ldr	x8, [x8, _init_fs_resolution@GOTPAGEOFF]
Lloh87:
	str	w0, [x8, #4]
	b	LBB0_26
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27]
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh88:
	adrp	x8, _TRUE@GOTPAGE
Lloh89:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
LBB0_32:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh91:
	adrp	x9, _VIDEOMODE_windowed@GOTPAGE
Lloh92:
	ldr	x9, [x9, _VIDEOMODE_windowed@GOTPAGEOFF]
Lloh93:
	str	w8, [x9]
	mov	x8, x24
	b	LBB0_65
LBB0_33:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.34:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh94:
	adrp	x8, _horizontal_area_cfg_strings@GOTPAGE
Lloh95:
	ldr	x8, [x8, _horizontal_area_cfg_strings@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
Lloh97:
	adrp	x8, _VIDEOMODE_HORIZONTAL_SIZE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _VIDEOMODE_HORIZONTAL_SIZE@GOTPAGEOFF]
Lloh99:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_45
; %bb.35:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh100:
	adrp	x8, _VIDEOMODE_horizontal_area@GOTPAGE
Lloh101:
	ldr	x8, [x8, _VIDEOMODE_horizontal_area@GOTPAGEOFF]
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.37:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh102:
	adrp	x8, _vertical_area_cfg_strings@GOTPAGE
Lloh103:
	ldr	x8, [x8, _vertical_area_cfg_strings@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _VIDEOMODE_VERTICAL_SIZE@GOTPAGE
Lloh106:
	ldr	x8, [x8, _VIDEOMODE_VERTICAL_SIZE@GOTPAGEOFF]
Lloh107:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_51
; %bb.38:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh108:
	adrp	x8, _VIDEOMODE_vertical_area@GOTPAGE
Lloh109:
	ldr	x8, [x8, _VIDEOMODE_vertical_area@GOTPAGEOFF]
LBB0_39:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w0, [x8]
	mov	x8, x24
	cbz	w8, LBB0_66
	b	LBB0_70
LBB0_40:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.41:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh110:
	adrp	x1, _VIDEOMODE_horizontal_offset@GOTPAGE
Lloh111:
	ldr	x1, [x1, _VIDEOMODE_horizontal_offset@GOTPAGEOFF]
	b	LBB0_44
LBB0_42:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.43:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh112:
	adrp	x1, _VIDEOMODE_vertical_offset@GOTPAGE
Lloh113:
	ldr	x1, [x1, _VIDEOMODE_vertical_offset@GOTPAGEOFF]
LBB0_44:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_Util_sscansdec
	cmp	w0, #0
	b	LBB0_27
LBB0_45:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x23
	sxtw	x8, w8
Lloh114:
	adrp	x9, _VIDEOMODE_HORIZONTAL_CUSTOM@GOTPAGE
Lloh115:
	ldr	x9, [x9, _VIDEOMODE_HORIZONTAL_CUSTOM@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
Lloh117:
	adrp	x10, _VIDEOMODE_horizontal_area@GOTPAGE
Lloh118:
	ldr	x10, [x10, _VIDEOMODE_horizontal_area@GOTPAGEOFF]
Lloh119:
	str	w9, [x10]
	ldr	x0, [x20, x8, lsl #3]
	bl	_Util_sscandec
Lloh120:
	adrp	x8, _VIDEOMODE_custom_horizontal_area@GOTPAGE
Lloh121:
	ldr	x8, [x8, _VIDEOMODE_custom_horizontal_area@GOTPAGEOFF]
Lloh122:
	str	w0, [x8]
	mov	w9, #1
	cmn	w0, #1
	b.eq	LBB0_55
; %bb.46:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh123:
	adrp	x8, _VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPAGE
Lloh124:
	ldr	x8, [x8, _VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_55
; %bb.47:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh126:
	adrp	x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGE
Lloh127:
	ldr	x8, [x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGEOFF]
	b	LBB0_54
LBB0_48:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.49:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh128:
	adrp	x8, _stretch_cfg_strings@GOTPAGE
Lloh129:
	ldr	x8, [x8, _stretch_cfg_strings@GOTPAGEOFF]
Lloh130:
	ldr	w1, [x8]
Lloh131:
	adrp	x8, _VIDEOMODE_STRETCH_SIZE@GOTPAGE
Lloh132:
	ldr	x8, [x8, _VIDEOMODE_STRETCH_SIZE@GOTPAGEOFF]
Lloh133:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_68
; %bb.50:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh134:
	adrp	x8, _VIDEOMODE_stretch@GOTPAGE
Lloh135:
	ldr	x8, [x8, _VIDEOMODE_stretch@GOTPAGEOFF]
	b	LBB0_39
LBB0_51:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x23
	sxtw	x8, w8
Lloh136:
	adrp	x9, _VIDEOMODE_VERTICAL_CUSTOM@GOTPAGE
Lloh137:
	ldr	x9, [x9, _VIDEOMODE_VERTICAL_CUSTOM@GOTPAGEOFF]
Lloh138:
	ldr	w9, [x9]
Lloh139:
	adrp	x10, _VIDEOMODE_vertical_area@GOTPAGE
Lloh140:
	ldr	x10, [x10, _VIDEOMODE_vertical_area@GOTPAGEOFF]
Lloh141:
	str	w9, [x10]
	ldr	x0, [x20, x8, lsl #3]
	bl	_Util_sscandec
Lloh142:
	adrp	x8, _VIDEOMODE_custom_vertical_area@GOTPAGE
Lloh143:
	ldr	x8, [x8, _VIDEOMODE_custom_vertical_area@GOTPAGEOFF]
Lloh144:
	str	w0, [x8]
	mov	w9, #1
	cmn	w0, #1
	b.eq	LBB0_55
; %bb.52:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh145:
	adrp	x8, _VIDEOMODE_MIN_VERTICAL_AREA@GOTPAGE
Lloh146:
	ldr	x8, [x8, _VIDEOMODE_MIN_VERTICAL_AREA@GOTPAGEOFF]
Lloh147:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_55
; %bb.53:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh148:
	adrp	x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGE
Lloh149:
	ldr	x8, [x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGEOFF]
LBB0_54:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w9, gt
LBB0_55:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x24
	mov	x24, x9
	cbz	w8, LBB0_66
	b	LBB0_70
LBB0_56:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.57:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh150:
	adrp	x8, _fit_cfg_strings@GOTPAGE
Lloh151:
	ldr	x8, [x8, _fit_cfg_strings@GOTPAGEOFF]
Lloh152:
	ldr	w1, [x8]
Lloh153:
	adrp	x8, _VIDEOMODE_FIT_SIZE@GOTPAGE
Lloh154:
	ldr	x8, [x8, _VIDEOMODE_FIT_SIZE@GOTPAGEOFF]
Lloh155:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
Lloh156:
	adrp	x8, _VIDEOMODE_fit@GOTPAGE
Lloh157:
	ldr	x8, [x8, _VIDEOMODE_fit@GOTPAGEOFF]
	b	LBB0_60
LBB0_58:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.59:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh158:
	adrp	x8, _keep_aspect_cfg_strings@GOTPAGE
Lloh159:
	ldr	x8, [x8, _keep_aspect_cfg_strings@GOTPAGEOFF]
Lloh160:
	ldr	w1, [x8]
Lloh161:
	adrp	x8, _VIDEOMODE_KEEP_ASPECT_SIZE@GOTPAGE
Lloh162:
	ldr	x8, [x8, _VIDEOMODE_KEEP_ASPECT_SIZE@GOTPAGEOFF]
Lloh163:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
Lloh164:
	adrp	x8, _VIDEOMODE_keep_aspect@GOTPAGE
Lloh165:
	ldr	x8, [x8, _VIDEOMODE_keep_aspect@GOTPAGEOFF]
LBB0_60:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x0, [x8]
	mov	x8, x24
	cbz	w8, LBB0_66
	b	LBB0_70
LBB0_61:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w28
	b.ge	LBB0_64
; %bb.62:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w23, sxtw #3]
Lloh166:
	adrp	x1, l_.str.14@PAGE
Lloh167:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_69
; %bb.63:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x23
	sxtw	x8, w8
	ldr	x0, [x20, x8, lsl #3]
Lloh168:
	adrp	x1, _VIDEOMODE_host_aspect_ratio_w@GOTPAGE
Lloh169:
	ldr	x1, [x1, _VIDEOMODE_host_aspect_ratio_w@GOTPAGEOFF]
Lloh170:
	adrp	x2, _VIDEOMODE_host_aspect_ratio_h@GOTPAGE
Lloh171:
	ldr	x2, [x2, _VIDEOMODE_host_aspect_ratio_h@GOTPAGEOFF]
	bl	_ParseAspectRatio
	cmp	w0, #0
	b	LBB0_27
LBB0_64:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh172:
	adrp	x8, _TRUE@GOTPAGE
Lloh173:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh174:
	ldr	w8, [x8]
LBB0_65:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x26
	cbnz	w8, LBB0_70
LBB0_66:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w24, LBB0_73
; %bb.67:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w23, #1
	ldr	w28, [x19]
	cmp	w26, w28
	b.lt	LBB0_2
	b	LBB0_72
LBB0_68:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x23
	sxtw	x8, w8
Lloh175:
	adrp	x9, _VIDEOMODE_STRETCH_CUSTOM@GOTPAGE
Lloh176:
	ldr	x9, [x9, _VIDEOMODE_STRETCH_CUSTOM@GOTPAGEOFF]
Lloh177:
	ldr	w9, [x9]
Lloh178:
	adrp	x10, _VIDEOMODE_stretch@GOTPAGE
Lloh179:
	ldr	x10, [x10, _VIDEOMODE_stretch@GOTPAGEOFF]
Lloh180:
	str	w9, [x10]
	ldr	x0, [x20, x8, lsl #3]
Lloh181:
	adrp	x25, _VIDEOMODE_custom_stretch@GOTPAGE
Lloh182:
	ldr	x25, [x25, _VIDEOMODE_custom_stretch@GOTPAGEOFF]
	mov	x1, x25
	bl	_Util_sscandouble
	ldr	d0, [x25]
	fcmp	d0, d8
	ccmp	w0, #0, #4, pl
	b	LBB0_27
LBB0_69:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh183:
	adrp	x8, _VIDEOMODE_host_aspect_ratio_h@GOTPAGE
Lloh184:
	ldr	x8, [x8, _VIDEOMODE_host_aspect_ratio_h@GOTPAGEOFF]
Lloh185:
	str	xzr, [x8]
Lloh186:
	adrp	x8, _VIDEOMODE_host_aspect_ratio_w@GOTPAGE
Lloh187:
	ldr	x8, [x8, _VIDEOMODE_host_aspect_ratio_w@GOTPAGEOFF]
Lloh188:
	str	xzr, [x8]
	mov	x8, x24
	cbz	w8, LBB0_66
LBB0_70:
	ldr	x8, [x20, w23, sxtw #3]
	str	x8, [sp]
Lloh189:
	adrp	x0, l_.str.36@PAGE
Lloh190:
	add	x0, x0, l_.str.36@PAGEOFF
	b	LBB0_74
LBB0_71:
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_72:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	str	w8, [x19]
Lloh191:
	adrp	x8, _TRUE@GOTPAGE
Lloh192:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_75
LBB0_73:
	add	x8, x20, w23, sxtw #3
	ldur	x8, [x8, #-8]
	str	x8, [sp]
Lloh193:
	adrp	x0, l_.str.37@PAGE
Lloh194:
	add	x0, x0, l_.str.37@PAGEOFF
LBB0_74:
	bl	_Log_print
Lloh195:
	adrp	x8, _FALSE@GOTPAGE
Lloh196:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_75:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotStr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGotStr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotStr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh134, Lloh135
	.loh AdrpLdrGotStr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotStr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGot	Lloh148, Lloh149
	.loh AdrpLdrGot	Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpAdd	Lloh166, Lloh167
	.loh AdrpLdrGot	Lloh170, Lloh171
	.loh AdrpLdrGot	Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGot	Lloh181, Lloh182
	.loh AdrpLdrGotStr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotStr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotStr	Lloh183, Lloh184, Lloh185
	.loh AdrpAdd	Lloh189, Lloh190
	.loh AdrpLdrGot	Lloh191, Lloh192
	.loh AdrpAdd	Lloh193, Lloh194
	.loh AdrpLdrGot	Lloh195, Lloh196
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-win-width"

	.comm	_window_resolution,8,2          ; @window_resolution
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"-win-height"

l_.str.2:                               ; @.str.2
	.asciz	"-fs-width"

	.comm	_init_fs_resolution,8,2         ; @init_fs_resolution
l_.str.3:                               ; @.str.3
	.asciz	"-fs-height"

l_.str.4:                               ; @.str.4
	.asciz	"-fullscreen"

	.comm	_VIDEOMODE_windowed,4,2         ; @VIDEOMODE_windowed
l_.str.5:                               ; @.str.5
	.asciz	"-windowed"

l_.str.6:                               ; @.str.6
	.asciz	"-horiz-area"

	.comm	_horizontal_area_cfg_strings,4,2 ; @horizontal_area_cfg_strings
	.comm	_VIDEOMODE_HORIZONTAL_SIZE,4,2  ; @VIDEOMODE_HORIZONTAL_SIZE
	.comm	_VIDEOMODE_HORIZONTAL_CUSTOM,4,2 ; @VIDEOMODE_HORIZONTAL_CUSTOM
	.comm	_VIDEOMODE_horizontal_area,4,2  ; @VIDEOMODE_horizontal_area
	.comm	_VIDEOMODE_custom_horizontal_area,4,2 ; @VIDEOMODE_custom_horizontal_area
	.comm	_VIDEOMODE_MIN_HORIZONTAL_AREA,4,2 ; @VIDEOMODE_MIN_HORIZONTAL_AREA
	.comm	_VIDEOMODE_MAX_HORIZONTAL_AREA,4,2 ; @VIDEOMODE_MAX_HORIZONTAL_AREA
l_.str.7:                               ; @.str.7
	.asciz	"-vert-area"

	.comm	_vertical_area_cfg_strings,4,2  ; @vertical_area_cfg_strings
	.comm	_VIDEOMODE_VERTICAL_SIZE,4,2    ; @VIDEOMODE_VERTICAL_SIZE
	.comm	_VIDEOMODE_VERTICAL_CUSTOM,4,2  ; @VIDEOMODE_VERTICAL_CUSTOM
	.comm	_VIDEOMODE_vertical_area,4,2    ; @VIDEOMODE_vertical_area
	.comm	_VIDEOMODE_custom_vertical_area,4,2 ; @VIDEOMODE_custom_vertical_area
	.comm	_VIDEOMODE_MIN_VERTICAL_AREA,4,2 ; @VIDEOMODE_MIN_VERTICAL_AREA
	.comm	_VIDEOMODE_MAX_VERTICAL_AREA,4,2 ; @VIDEOMODE_MAX_VERTICAL_AREA
l_.str.8:                               ; @.str.8
	.asciz	"-horiz-shift"

	.comm	_VIDEOMODE_horizontal_offset,4,2 ; @VIDEOMODE_horizontal_offset
l_.str.9:                               ; @.str.9
	.asciz	"-vert-shift"

	.comm	_VIDEOMODE_vertical_offset,4,2  ; @VIDEOMODE_vertical_offset
l_.str.10:                              ; @.str.10
	.asciz	"-stretch"

	.comm	_stretch_cfg_strings,4,2        ; @stretch_cfg_strings
	.comm	_VIDEOMODE_STRETCH_SIZE,4,2     ; @VIDEOMODE_STRETCH_SIZE
	.comm	_VIDEOMODE_STRETCH_CUSTOM,4,2   ; @VIDEOMODE_STRETCH_CUSTOM
	.comm	_VIDEOMODE_stretch,4,2          ; @VIDEOMODE_stretch
	.comm	_VIDEOMODE_custom_stretch,8,3   ; @VIDEOMODE_custom_stretch
l_.str.11:                              ; @.str.11
	.asciz	"-fit-screen"

	.comm	_fit_cfg_strings,4,2            ; @fit_cfg_strings
	.comm	_VIDEOMODE_FIT_SIZE,4,2         ; @VIDEOMODE_FIT_SIZE
	.comm	_VIDEOMODE_fit,8,3              ; @VIDEOMODE_fit
l_.str.12:                              ; @.str.12
	.asciz	"-image-aspect"

	.comm	_keep_aspect_cfg_strings,4,2    ; @keep_aspect_cfg_strings
	.comm	_VIDEOMODE_KEEP_ASPECT_SIZE,4,2 ; @VIDEOMODE_KEEP_ASPECT_SIZE
	.comm	_VIDEOMODE_keep_aspect,8,3      ; @VIDEOMODE_keep_aspect
l_.str.13:                              ; @.str.13
	.asciz	"-host-aspect-ratio"

l_.str.14:                              ; @.str.14
	.asciz	"auto"

	.comm	_VIDEOMODE_host_aspect_ratio_h,8,3 ; @VIDEOMODE_host_aspect_ratio_h
	.comm	_VIDEOMODE_host_aspect_ratio_w,8,3 ; @VIDEOMODE_host_aspect_ratio_w
l_.str.15:                              ; @.str.15
	.asciz	"-help"

l_.str.16:                              ; @.str.16
	.asciz	"\t-win-width <num>            Host window width"

l_.str.17:                              ; @.str.17
	.asciz	"\t-win-height <num>           Host window height"

l_.str.18:                              ; @.str.18
	.asciz	"\t-fs-width <num>             Host fullscreen width"

l_.str.19:                              ; @.str.19
	.asciz	"\t-fs-height <num>            Host fullscreen height"

l_.str.20:                              ; @.str.20
	.asciz	"\t-fullscreen                 Run fullscreen"

l_.str.21:                              ; @.str.21
	.asciz	"\t-windowed                   Run in window"

l_.str.22:                              ; @.str.22
	.asciz	"\t-horiz-area narrow|tv|full|<number>"

l_.str.23:                              ; @.str.23
	.asciz	"\t                            Set horizontal view area"

l_.str.24:                              ; @.str.24
	.asciz	"\t-vert-area short|tv|full|<number>"

l_.str.25:                              ; @.str.25
	.asciz	"\t                            Set vertical view area"

l_.str.26:                              ; @.str.26
	.asciz	"\t-horiz-shift <num>          Set horizontal shift of the visible area (-%i..%i)"

l_.str.27:                              ; @.str.27
	.asciz	"\t-vert-shift <num>           Set vertical shift of the visible area (-%i..%i)"

l_.str.28:                              ; @.str.28
	.asciz	"\t-stretch none|integral|full|<number>"

l_.str.29:                              ; @.str.29
	.asciz	"\t                            Set method of image stretching"

l_.str.30:                              ; @.str.30
	.asciz	"\t-fit-screen width|height|both"

l_.str.31:                              ; @.str.31
	.asciz	"\t                            Set method of image fitting the screen"

l_.str.32:                              ; @.str.32
	.asciz	"\t-image-aspect none|square-pixels|real"

l_.str.33:                              ; @.str.33
	.asciz	"\t                            Set image aspect ratio"

l_.str.34:                              ; @.str.34
	.asciz	"\t-host-aspect-ratio auto|<w>:<h>"

l_.str.35:                              ; @.str.35
	.asciz	"\t                            Set host display aspect ratio"

l_.str.36:                              ; @.str.36
	.asciz	"Missing argument for '%s'"

l_.str.37:                              ; @.str.37
	.asciz	"Invalid argument for '%s'"

	.comm	_VIDEOMODE_80_column,4,2        ; @VIDEOMODE_80_column
	.comm	_VIDEOMODE_MODE_XEP80,8,3       ; @VIDEOMODE_MODE_XEP80
	.comm	_VIDEOMODE_rotate90,4,2         ; @VIDEOMODE_rotate90
	.comm	_display_modes,8,3              ; @display_modes
	.comm	_xep80_aspect_ratio_ntsc,4,2    ; @xep80_aspect_ratio_ntsc
.subsections_via_symbols
