	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitOpenGL
_InitOpenGL:                            ## @InitOpenGL
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_glConfig@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GLimp_Init
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GLimp_InitExtraExtensions
	movq	_GL_MAX_TEXTURE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_qglGetIntegerv
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	cmovgq	%rax, %rbx
	movq	%rbx, 8(%r14)
LBB0_2:
	xorl	%eax, %eax
	callq	_GL_SetDefaultState
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_glConfig,16,3                  ## @glConfig
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_GL_MAX_TEXTURE_SIZE,4,2        ## @GL_MAX_TEXTURE_SIZE
	.no_dead_strip	_InitOpenGL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitOpenGL
_InitOpenGL:                            ; @InitOpenGL
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _glConfig@GOTPAGE
Lloh1:
	ldr	x19, [x19, _glConfig@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_GLimp_Init
	bl	_GLimp_InitExtraExtensions
Lloh5:
	adrp	x8, _GL_MAX_TEXTURE_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_MAX_TEXTURE_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_qglGetIntegerv
	ldr	x8, [sp, #8]
	cmp	x8, #0
	csel	x8, x8, xzr, gt
	str	x8, [x19, #8]
LBB0_2:
	bl	_GL_SetDefaultState
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_glConfig,16,3                  ; @glConfig
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_GL_MAX_TEXTURE_SIZE,4,2        ; @GL_MAX_TEXTURE_SIZE
	.no_dead_strip	_InitOpenGL
.subsections_via_symbols
