	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLimp_CommonPreInit            ## -- Begin function GLimp_CommonPreInit
	.p2align	4, 0x90
_GLimp_CommonPreInit:                   ## @GLimp_CommonPreInit
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ri@GOTPCREL(%rip), %r15
	movq	_CVAR_ROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	*(%r15)
	movq	_r_sdlDriver@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CVAR_ARCHIVE@GOTPCREL(%rip), %r12
	movq	_CVAR_LATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%r12), %edx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_r_allowResize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %edx
	orl	(%r12), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_r_centerWindow@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %edx
	orl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	*(%r15)
	movq	_r_tvMode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %edx
	orl	(%rbx), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_r_tvModeAspect@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %edx
	orl	(%rbx), %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_r_tvConsoleMode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %edx
	orl	(%r12), %edx
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_r_motionblur@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_glConfig@GOTPCREL(%rip), %r8
	leaq	16(%r8), %rdi
	leaq	12(%r8), %rsi
	leaq	8(%r8), %rdx
	leaq	4(%r8), %rcx
	movl	$-1, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_R_GetModeInfo                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_sdlDriver"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_CVAR_ROM,4,2                   ## @CVAR_ROM
	.comm	_r_sdlDriver,4,2                ## @r_sdlDriver
L_.str.2:                               ## @.str.2
	.asciz	"r_allowResize"

L_.str.3:                               ## @.str.3
	.asciz	"0"

	.comm	_CVAR_ARCHIVE,4,2               ## @CVAR_ARCHIVE
	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
	.comm	_r_allowResize,4,2              ## @r_allowResize
L_.str.4:                               ## @.str.4
	.asciz	"r_centerWindow"

	.comm	_r_centerWindow,4,2             ## @r_centerWindow
L_.str.5:                               ## @.str.5
	.asciz	"r_tvMode"

L_.str.6:                               ## @.str.6
	.asciz	"-1"

	.comm	_r_tvMode,4,2                   ## @r_tvMode
L_.str.7:                               ## @.str.7
	.asciz	"r_tvModeAspect"

	.comm	_r_tvModeAspect,4,2             ## @r_tvModeAspect
L_.str.8:                               ## @.str.8
	.asciz	"r_tvConsoleMode"

	.comm	_r_tvConsoleMode,4,2            ## @r_tvConsoleMode
L_.str.9:                               ## @.str.9
	.asciz	"r_motionblur"

	.comm	_r_motionblur,4,2               ## @r_motionblur
	.comm	_glConfig,20,2                  ## @glConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLimp_CommonPreInit            ; -- Begin function GLimp_CommonPreInit
	.p2align	2
_GLimp_CommonPreInit:                   ; @GLimp_CommonPreInit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _ri@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ri@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _CVAR_ROM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CVAR_ROM@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	blr	x8
Lloh9:
	adrp	x8, _r_sdlDriver@GOTPAGE
Lloh10:
	ldr	x8, [x8, _r_sdlDriver@GOTPAGEOFF]
Lloh11:
	str	w0, [x8]
Lloh12:
	adrp	x21, _CVAR_ARCHIVE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _CVAR_ARCHIVE@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w9, [x21]
Lloh14:
	adrp	x22, _CVAR_LATCH@GOTPAGE
Lloh15:
	ldr	x22, [x22, _CVAR_LATCH@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w2, w10, w9
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh18:
	adrp	x19, l_.str.3@PAGE
Lloh19:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x1, x19
	blr	x8
Lloh20:
	adrp	x8, _r_allowResize@GOTPAGE
Lloh21:
	ldr	x8, [x8, _r_allowResize@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
	ldr	x8, [x20]
	ldr	w9, [x21]
	ldr	w10, [x22]
	orr	w2, w10, w9
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	blr	x8
Lloh25:
	adrp	x8, _r_centerWindow@GOTPAGE
Lloh26:
	ldr	x8, [x8, _r_centerWindow@GOTPAGEOFF]
Lloh27:
	str	w0, [x8]
	ldr	x8, [x20]
	ldr	w9, [x22]
	ldr	w10, [x21]
	orr	w2, w10, w9
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	blr	x8
Lloh32:
	adrp	x8, _r_tvMode@GOTPAGE
Lloh33:
	ldr	x8, [x8, _r_tvMode@GOTPAGEOFF]
Lloh34:
	str	w0, [x8]
	ldr	x8, [x20]
	ldr	w9, [x22]
	ldr	w10, [x21]
	orr	w2, w10, w9
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	blr	x8
Lloh37:
	adrp	x8, _r_tvModeAspect@GOTPAGE
Lloh38:
	ldr	x8, [x8, _r_tvModeAspect@GOTPAGEOFF]
Lloh39:
	str	w0, [x8]
	ldr	x8, [x20]
	ldr	w9, [x22]
	ldr	w10, [x21]
	orr	w2, w10, w9
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x19
	blr	x8
Lloh42:
	adrp	x8, _r_tvConsoleMode@GOTPAGE
Lloh43:
	ldr	x8, [x8, _r_tvConsoleMode@GOTPAGEOFF]
Lloh44:
	str	w0, [x8]
	ldr	x8, [x20]
	ldr	w9, [x21]
	ldr	w10, [x22]
	orr	w2, w10, w9
Lloh45:
	adrp	x0, l_.str.9@PAGE
Lloh46:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x19
	blr	x8
Lloh47:
	adrp	x8, _r_motionblur@GOTPAGE
Lloh48:
	ldr	x8, [x8, _r_motionblur@GOTPAGEOFF]
Lloh49:
	str	w0, [x8]
Lloh50:
	adrp	x4, _glConfig@GOTPAGE
Lloh51:
	ldr	x4, [x4, _glConfig@GOTPAGEOFF]
	add	x0, x4, #16
	add	x1, x4, #12
	add	x2, x4, #8
	add	x3, x4, #4
	mov	w5, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_R_GetModeInfo
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_sdlDriver"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_CVAR_ROM,4,2                   ; @CVAR_ROM
	.comm	_r_sdlDriver,4,2                ; @r_sdlDriver
l_.str.2:                               ; @.str.2
	.asciz	"r_allowResize"

l_.str.3:                               ; @.str.3
	.asciz	"0"

	.comm	_CVAR_ARCHIVE,4,2               ; @CVAR_ARCHIVE
	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
	.comm	_r_allowResize,4,2              ; @r_allowResize
l_.str.4:                               ; @.str.4
	.asciz	"r_centerWindow"

	.comm	_r_centerWindow,4,2             ; @r_centerWindow
l_.str.5:                               ; @.str.5
	.asciz	"r_tvMode"

l_.str.6:                               ; @.str.6
	.asciz	"-1"

	.comm	_r_tvMode,4,2                   ; @r_tvMode
l_.str.7:                               ; @.str.7
	.asciz	"r_tvModeAspect"

	.comm	_r_tvModeAspect,4,2             ; @r_tvModeAspect
l_.str.8:                               ; @.str.8
	.asciz	"r_tvConsoleMode"

	.comm	_r_tvConsoleMode,4,2            ; @r_tvConsoleMode
l_.str.9:                               ; @.str.9
	.asciz	"r_motionblur"

	.comm	_r_motionblur,4,2               ; @r_motionblur
	.comm	_glConfig,20,2                  ; @glConfig
.subsections_via_symbols
