	.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_ReadConfig
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_VIDEOMODE_ReadConfig
	.p2align	4, 0x90
_VIDEOMODE_ReadConfig:                  ## @VIDEOMODE_ReadConfig
	.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	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_34
## %bb.10:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_36
## %bb.11:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_38
## %bb.12:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_40
## %bb.13:
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_43
## %bb.14:
	movq	_VIDEOMODE_host_aspect_ratio_w@GOTPCREL(%rip), %rsi
	movq	_VIDEOMODE_host_aspect_ratio_h@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ParseAspectRatio               ## TAILCALL
LBB0_15:
	movq	%r14, %rdi
	callq	_Util_sscandec
	movl	%eax, %ecx
	movq	_window_resolution@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_16:
	movq	%r14, %rdi
	callq	_Util_sscandec
	movl	%eax, %ecx
	movq	_window_resolution@GOTPCREL(%rip), %rax
	movl	%ecx, 4(%rax)
	jmp	LBB0_21
LBB0_17:
	movq	%r14, %rdi
	callq	_Util_sscandec
	movl	%eax, %ecx
	movq	_init_fs_resolution@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	%r14, %rdi
	callq	_Util_sscandec
	movl	%eax, %ecx
	movq	_init_fs_resolution@GOTPCREL(%rip), %rax
	movl	%ecx, 4(%rax)
	jmp	LBB0_21
LBB0_19:
	movq	%r14, %rdi
	callq	_Util_sscanbool
	movl	%eax, %ecx
	movq	_VIDEOMODE_windowed@GOTPCREL(%rip), %rax
LBB0_20:
	movl	%ecx, (%rax)
LBB0_21:
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	setne	%al
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_23:
	movq	_horizontal_area_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_HORIZONTAL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_29
## %bb.24:
	movq	_VIDEOMODE_horizontal_area@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_26:
	movq	_vertical_area_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_VERTICAL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_32
## %bb.27:
	movq	_VIDEOMODE_vertical_area@GOTPCREL(%rip), %rcx
LBB0_25:
	movl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_41:
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_28:
	movq	_VIDEOMODE_horizontal_offset@GOTPCREL(%rip), %rsi
	jmp	LBB0_31
LBB0_29:
	movq	_VIDEOMODE_HORIZONTAL_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_horizontal_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_Util_sscandec
	cmpl	$-1, %eax
	setne	%cl
	movq	_VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setge	%dl
	andb	%cl, %dl
	movq	_VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_VIDEOMODE_custom_horizontal_area@GOTPCREL(%rip), %rcx
	jmp	LBB0_33
LBB0_30:
	movq	_VIDEOMODE_vertical_offset@GOTPCREL(%rip), %rsi
LBB0_31:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Util_sscansdec                 ## TAILCALL
LBB0_32:
	movq	_VIDEOMODE_VERTICAL_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_vertical_area@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_Util_sscandec
	cmpl	$-1, %eax
	setne	%cl
	movq	_VIDEOMODE_MIN_VERTICAL_AREA@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setge	%dl
	andb	%cl, %dl
	movq	_VIDEOMODE_MAX_VERTICAL_AREA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_VIDEOMODE_custom_vertical_area@GOTPCREL(%rip), %rcx
LBB0_33:
	movl	%eax, (%rcx)
	setle	%al
	andb	%dl, %al
	movzbl	%al, %eax
	jmp	LBB0_22
LBB0_34:
	movq	_stretch_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_STRETCH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_42
## %bb.35:
	movq	_VIDEOMODE_stretch@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_36:
	movq	_fit_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_FIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_40
## %bb.37:
	movq	_VIDEOMODE_fit@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_38:
	movq	_keep_aspect_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIDEOMODE_KEEP_ASPECT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_40
## %bb.39:
	movq	_VIDEOMODE_keep_aspect@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_40:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_42:
	movq	_VIDEOMODE_STRETCH_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VIDEOMODE_stretch@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_VIDEOMODE_custom_stretch@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Util_sscandouble
	testq	%rax, %rax
	setne	%al
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	setae	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_22
LBB0_43:
	movq	_VIDEOMODE_host_aspect_ratio_h@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_VIDEOMODE_host_aspect_ratio_w@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDEOMODE_WINDOW_WIDTH"

	.comm	_window_resolution,8,2          ## @window_resolution
L_.str.1:                               ## @.str.1
	.asciz	"VIDEOMODE_WINDOW_HEIGHT"

L_.str.2:                               ## @.str.2
	.asciz	"VIDEOMODE_FULLSCREEN_WIDTH"

	.comm	_init_fs_resolution,8,2         ## @init_fs_resolution
L_.str.3:                               ## @.str.3
	.asciz	"VIDEOMODE_FULLSCREEN_HEIGHT"

L_.str.4:                               ## @.str.4
	.asciz	"VIDEOMODE_WINDOWED"

	.comm	_VIDEOMODE_windowed,4,2         ## @VIDEOMODE_windowed
L_.str.5:                               ## @.str.5
	.asciz	"VIDEOMODE_HORIZONTAL_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.6:                               ## @.str.6
	.asciz	"VIDEOMODE_VERTICAL_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.7:                               ## @.str.7
	.asciz	"VIDEOMODE_HORIZONTAL_SHIFT"

	.comm	_VIDEOMODE_horizontal_offset,4,2 ## @VIDEOMODE_horizontal_offset
L_.str.8:                               ## @.str.8
	.asciz	"VIDEOMODE_VERTICAL_SHIFT"

	.comm	_VIDEOMODE_vertical_offset,4,2  ## @VIDEOMODE_vertical_offset
L_.str.9:                               ## @.str.9
	.asciz	"VIDEOMODE_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.10:                              ## @.str.10
	.asciz	"VIDEOMODE_FIT"

	.comm	_fit_cfg_strings,4,2            ## @fit_cfg_strings
	.comm	_VIDEOMODE_FIT_SIZE,4,2         ## @VIDEOMODE_FIT_SIZE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_VIDEOMODE_fit,4,2              ## @VIDEOMODE_fit
L_.str.11:                              ## @.str.11
	.asciz	"VIDEOMODE_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,4,2      ## @VIDEOMODE_keep_aspect
L_.str.12:                              ## @.str.12
	.asciz	"VIDEOMODE_HOST_ASPECT_RATIO"

L_.str.13:                              ## @.str.13
	.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
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_VIDEOMODE_80_column,4,2        ## @VIDEOMODE_80_column
	.comm	_VIDEOMODE_rotate90,4,2         ## @VIDEOMODE_rotate90
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEOMODE_ReadConfig           ; -- Begin function VIDEOMODE_ReadConfig
	.p2align	2
_VIDEOMODE_ReadConfig:                  ; @VIDEOMODE_ReadConfig
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_24
; %bb.6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
; %bb.7:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.8:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_33
; %bb.9:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_37
; %bb.10:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_39
; %bb.11:
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_41
; %bb.12:
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_43
; %bb.13:
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_45
; %bb.14:
Lloh28:
	adrp	x1, _VIDEOMODE_host_aspect_ratio_w@GOTPAGE
Lloh29:
	ldr	x1, [x1, _VIDEOMODE_host_aspect_ratio_w@GOTPAGEOFF]
Lloh30:
	adrp	x2, _VIDEOMODE_host_aspect_ratio_h@GOTPAGE
Lloh31:
	ldr	x2, [x2, _VIDEOMODE_host_aspect_ratio_h@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ParseAspectRatio
LBB0_15:
	mov	x0, x19
	bl	_Util_sscandec
Lloh32:
	adrp	x8, _window_resolution@GOTPAGE
Lloh33:
	ldr	x8, [x8, _window_resolution@GOTPAGEOFF]
	b	LBB0_20
LBB0_16:
	mov	x0, x19
	bl	_Util_sscandec
Lloh34:
	adrp	x8, _window_resolution@GOTPAGE
Lloh35:
	ldr	x8, [x8, _window_resolution@GOTPAGEOFF]
Lloh36:
	str	w0, [x8, #4]
	b	LBB0_21
LBB0_17:
	mov	x0, x19
	bl	_Util_sscandec
Lloh37:
	adrp	x8, _init_fs_resolution@GOTPAGE
Lloh38:
	ldr	x8, [x8, _init_fs_resolution@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	mov	x0, x19
	bl	_Util_sscandec
Lloh39:
	adrp	x8, _init_fs_resolution@GOTPAGE
Lloh40:
	ldr	x8, [x8, _init_fs_resolution@GOTPAGEOFF]
Lloh41:
	str	w0, [x8, #4]
	b	LBB0_21
LBB0_19:
	mov	x0, x19
	bl	_Util_sscanbool
Lloh42:
	adrp	x8, _VIDEOMODE_windowed@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VIDEOMODE_windowed@GOTPAGEOFF]
LBB0_20:
	str	w0, [x8]
LBB0_21:
	cmn	w0, #1
LBB0_22:
	cset	w0, ne
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh44:
	adrp	x8, _horizontal_area_cfg_strings@GOTPAGE
Lloh45:
	ldr	x8, [x8, _horizontal_area_cfg_strings@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x8, _VIDEOMODE_HORIZONTAL_SIZE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _VIDEOMODE_HORIZONTAL_SIZE@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_32
; %bb.25:
Lloh50:
	adrp	x8, _VIDEOMODE_horizontal_area@GOTPAGE
Lloh51:
	ldr	x8, [x8, _VIDEOMODE_horizontal_area@GOTPAGEOFF]
	b	LBB0_28
LBB0_26:
Lloh52:
	adrp	x8, _vertical_area_cfg_strings@GOTPAGE
Lloh53:
	ldr	x8, [x8, _vertical_area_cfg_strings@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
Lloh55:
	adrp	x8, _VIDEOMODE_VERTICAL_SIZE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _VIDEOMODE_VERTICAL_SIZE@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_35
; %bb.27:
Lloh58:
	adrp	x8, _VIDEOMODE_vertical_area@GOTPAGE
Lloh59:
	ldr	x8, [x8, _VIDEOMODE_vertical_area@GOTPAGEOFF]
LBB0_28:
	str	w0, [x8]
LBB0_29:
Lloh60:
	adrp	x8, _TRUE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_30:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_31:
Lloh62:
	adrp	x1, _VIDEOMODE_horizontal_offset@GOTPAGE
Lloh63:
	ldr	x1, [x1, _VIDEOMODE_horizontal_offset@GOTPAGEOFF]
	b	LBB0_34
LBB0_32:
Lloh64:
	adrp	x8, _VIDEOMODE_HORIZONTAL_CUSTOM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _VIDEOMODE_HORIZONTAL_CUSTOM@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x9, _VIDEOMODE_horizontal_area@GOTPAGE
Lloh68:
	ldr	x9, [x9, _VIDEOMODE_horizontal_area@GOTPAGEOFF]
Lloh69:
	str	w8, [x9]
	mov	x0, x19
	bl	_Util_sscandec
Lloh70:
	adrp	x8, _VIDEOMODE_custom_horizontal_area@GOTPAGE
Lloh71:
	ldr	x8, [x8, _VIDEOMODE_custom_horizontal_area@GOTPAGEOFF]
Lloh72:
	str	w0, [x8]
	cmn	w0, #1
Lloh73:
	adrp	x8, _VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPAGE
Lloh74:
	ldr	x8, [x8, _VIDEOMODE_MIN_HORIZONTAL_AREA@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	ccmp	w0, w8, #8, ne
Lloh76:
	adrp	x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGE
Lloh77:
	ldr	x8, [x8, _VIDEOMODE_MAX_HORIZONTAL_AREA@GOTPAGEOFF]
	b	LBB0_36
LBB0_33:
Lloh78:
	adrp	x1, _VIDEOMODE_vertical_offset@GOTPAGE
Lloh79:
	ldr	x1, [x1, _VIDEOMODE_vertical_offset@GOTPAGEOFF]
LBB0_34:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Util_sscansdec
LBB0_35:
Lloh80:
	adrp	x8, _VIDEOMODE_VERTICAL_CUSTOM@GOTPAGE
Lloh81:
	ldr	x8, [x8, _VIDEOMODE_VERTICAL_CUSTOM@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
Lloh83:
	adrp	x9, _VIDEOMODE_vertical_area@GOTPAGE
Lloh84:
	ldr	x9, [x9, _VIDEOMODE_vertical_area@GOTPAGEOFF]
Lloh85:
	str	w8, [x9]
	mov	x0, x19
	bl	_Util_sscandec
Lloh86:
	adrp	x8, _VIDEOMODE_custom_vertical_area@GOTPAGE
Lloh87:
	ldr	x8, [x8, _VIDEOMODE_custom_vertical_area@GOTPAGEOFF]
Lloh88:
	str	w0, [x8]
	cmn	w0, #1
Lloh89:
	adrp	x8, _VIDEOMODE_MIN_VERTICAL_AREA@GOTPAGE
Lloh90:
	ldr	x8, [x8, _VIDEOMODE_MIN_VERTICAL_AREA@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	ccmp	w0, w8, #8, ne
Lloh92:
	adrp	x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGE
Lloh93:
	ldr	x8, [x8, _VIDEOMODE_MAX_VERTICAL_AREA@GOTPAGEOFF]
LBB0_36:
	ldr	w8, [x8]
	ccmp	w0, w8, #0, ge
	cset	w0, le
	b	LBB0_23
LBB0_37:
Lloh94:
	adrp	x8, _stretch_cfg_strings@GOTPAGE
Lloh95:
	ldr	x8, [x8, _stretch_cfg_strings@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
Lloh97:
	adrp	x8, _VIDEOMODE_STRETCH_SIZE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _VIDEOMODE_STRETCH_SIZE@GOTPAGEOFF]
Lloh99:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_44
; %bb.38:
Lloh100:
	adrp	x8, _VIDEOMODE_stretch@GOTPAGE
Lloh101:
	ldr	x8, [x8, _VIDEOMODE_stretch@GOTPAGEOFF]
	b	LBB0_28
LBB0_39:
Lloh102:
	adrp	x8, _fit_cfg_strings@GOTPAGE
Lloh103:
	ldr	x8, [x8, _fit_cfg_strings@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _VIDEOMODE_FIT_SIZE@GOTPAGE
Lloh106:
	ldr	x8, [x8, _VIDEOMODE_FIT_SIZE@GOTPAGEOFF]
Lloh107:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_43
; %bb.40:
Lloh108:
	adrp	x8, _VIDEOMODE_fit@GOTPAGE
Lloh109:
	ldr	x8, [x8, _VIDEOMODE_fit@GOTPAGEOFF]
	b	LBB0_28
LBB0_41:
Lloh110:
	adrp	x8, _keep_aspect_cfg_strings@GOTPAGE
Lloh111:
	ldr	x8, [x8, _keep_aspect_cfg_strings@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
Lloh113:
	adrp	x8, _VIDEOMODE_KEEP_ASPECT_SIZE@GOTPAGE
Lloh114:
	ldr	x8, [x8, _VIDEOMODE_KEEP_ASPECT_SIZE@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_43
; %bb.42:
Lloh116:
	adrp	x8, _VIDEOMODE_keep_aspect@GOTPAGE
Lloh117:
	ldr	x8, [x8, _VIDEOMODE_keep_aspect@GOTPAGEOFF]
	b	LBB0_28
LBB0_43:
Lloh118:
	adrp	x8, _FALSE@GOTPAGE
Lloh119:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_30
LBB0_44:
Lloh120:
	adrp	x8, _VIDEOMODE_STRETCH_CUSTOM@GOTPAGE
Lloh121:
	ldr	x8, [x8, _VIDEOMODE_STRETCH_CUSTOM@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
Lloh123:
	adrp	x9, _VIDEOMODE_stretch@GOTPAGE
Lloh124:
	ldr	x9, [x9, _VIDEOMODE_stretch@GOTPAGEOFF]
Lloh125:
	str	w8, [x9]
Lloh126:
	adrp	x20, _VIDEOMODE_custom_stretch@GOTPAGE
Lloh127:
	ldr	x20, [x20, _VIDEOMODE_custom_stretch@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_Util_sscandouble
	ldr	d0, [x20]
	fmov	d1, #1.00000000
	fcmp	d0, d1
	ccmp	x0, #0, #4, ge
	b	LBB0_22
LBB0_45:
Lloh128:
	adrp	x8, _VIDEOMODE_host_aspect_ratio_h@GOTPAGE
Lloh129:
	ldr	x8, [x8, _VIDEOMODE_host_aspect_ratio_h@GOTPAGEOFF]
Lloh130:
	str	xzr, [x8]
Lloh131:
	adrp	x8, _VIDEOMODE_host_aspect_ratio_w@GOTPAGE
Lloh132:
	ldr	x8, [x8, _VIDEOMODE_host_aspect_ratio_w@GOTPAGEOFF]
Lloh133:
	str	xzr, [x8]
	b	LBB0_29
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.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 AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotStr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.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 AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGotStr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotStr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotStr	Lloh128, Lloh129, Lloh130
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDEOMODE_WINDOW_WIDTH"

	.comm	_window_resolution,8,2          ; @window_resolution
l_.str.1:                               ; @.str.1
	.asciz	"VIDEOMODE_WINDOW_HEIGHT"

l_.str.2:                               ; @.str.2
	.asciz	"VIDEOMODE_FULLSCREEN_WIDTH"

	.comm	_init_fs_resolution,8,2         ; @init_fs_resolution
l_.str.3:                               ; @.str.3
	.asciz	"VIDEOMODE_FULLSCREEN_HEIGHT"

l_.str.4:                               ; @.str.4
	.asciz	"VIDEOMODE_WINDOWED"

	.comm	_VIDEOMODE_windowed,4,2         ; @VIDEOMODE_windowed
l_.str.5:                               ; @.str.5
	.asciz	"VIDEOMODE_HORIZONTAL_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.6:                               ; @.str.6
	.asciz	"VIDEOMODE_VERTICAL_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.7:                               ; @.str.7
	.asciz	"VIDEOMODE_HORIZONTAL_SHIFT"

	.comm	_VIDEOMODE_horizontal_offset,4,2 ; @VIDEOMODE_horizontal_offset
l_.str.8:                               ; @.str.8
	.asciz	"VIDEOMODE_VERTICAL_SHIFT"

	.comm	_VIDEOMODE_vertical_offset,4,2  ; @VIDEOMODE_vertical_offset
l_.str.9:                               ; @.str.9
	.asciz	"VIDEOMODE_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.10:                              ; @.str.10
	.asciz	"VIDEOMODE_FIT"

	.comm	_fit_cfg_strings,4,2            ; @fit_cfg_strings
	.comm	_VIDEOMODE_FIT_SIZE,4,2         ; @VIDEOMODE_FIT_SIZE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_VIDEOMODE_fit,4,2              ; @VIDEOMODE_fit
l_.str.11:                              ; @.str.11
	.asciz	"VIDEOMODE_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,4,2      ; @VIDEOMODE_keep_aspect
l_.str.12:                              ; @.str.12
	.asciz	"VIDEOMODE_HOST_ASPECT_RATIO"

l_.str.13:                              ; @.str.13
	.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
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_VIDEOMODE_80_column,4,2        ; @VIDEOMODE_80_column
	.comm	_VIDEOMODE_rotate90,4,2         ; @VIDEOMODE_rotate90
.subsections_via_symbols
