	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GraphicsOptions_CheckConfig
_GraphicsOptions_CheckConfig:           ## @GraphicsOptions_CheckConfig
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NUM_IVO_TEMPLATES@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_s_ivo_templates@GOTPCREL(%rip), %r15
	movq	_s_graphicsoptions@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	decq	%rax
	addq	$64, %rbx
	cmpq	%rax, %r12
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx), %rcx
	cmpq	64(%r13), %rcx
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax,%rbx), %rcx
	cmpq	56(%r13), %rcx
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	56(%rax,%rbx), %edi
	callq	_GraphicsOptions_FindDetectedResolution
	cmpq	48(%r13), %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movq	16(%rax,%rbx), %rcx
	cmpq	40(%r13), %rcx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rax,%rbx), %rcx
	cmpq	32(%r13), %rcx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%rax,%rbx), %rcx
	cmpq	24(%r13), %rcx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rax,%rbx), %rcx
	cmpq	16(%r13), %rcx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rax,%rbx), %rax
	cmpq	8(%r13), %rax
	jne	LBB0_11
## %bb.12:
	movl	%r12d, %eax
	jmp	LBB0_13
LBB0_1:
	decl	%eax
LBB0_13:
	movq	_s_graphicsoptions@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_IVO_TEMPLATES,4,2          ## @NUM_IVO_TEMPLATES
	.comm	_s_ivo_templates,8,3            ## @s_ivo_templates
	.comm	_s_graphicsoptions,72,3         ## @s_graphicsoptions
	.no_dead_strip	_GraphicsOptions_CheckConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GraphicsOptions_CheckConfig
_GraphicsOptions_CheckConfig:           ; @GraphicsOptions_CheckConfig
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _NUM_IVO_TEMPLATES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NUM_IVO_TEMPLATES@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x19, _s_graphicsoptions@GOTPAGE
Lloh3:
	ldr	x19, [x19, _s_graphicsoptions@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.1:
	mov	x22, #0
	mov	x21, #0
Lloh4:
	adrp	x23, _s_ivo_templates@GOTPAGE
Lloh5:
	ldr	x23, [x23, _s_ivo_templates@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	sub	x8, x8, #1
	add	x22, x22, #64
	cmp	x21, x8
	b.ge	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x8, x22]
	ldr	x10, [x19, #64]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x22
	ldr	x9, [x8, #8]
	ldr	x10, [x19, #56]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8, #56]
	bl	_GraphicsOptions_FindDetectedResolution
	ldr	x8, [x19, #48]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	add	x9, x8, x22
	ldr	x10, [x9, #16]
	ldr	x11, [x19, #40]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #24]
	ldr	x10, [x19, #32]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x8, x22
	ldr	x10, [x9, #32]
	ldr	x11, [x19, #24]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #40]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x22
	ldr	x8, [x8, #48]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.11:
	mov	x8, x21
	b	LBB0_13
LBB0_12:
	sub	w8, w8, #1
LBB0_13:
	str	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_IVO_TEMPLATES,4,2          ; @NUM_IVO_TEMPLATES
	.comm	_s_ivo_templates,8,3            ; @s_ivo_templates
	.comm	_s_graphicsoptions,72,3         ; @s_graphicsoptions
	.no_dead_strip	_GraphicsOptions_CheckConfig
.subsections_via_symbols
