	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseVersionString
_parseVersionString:                    ## @parseVersionString
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_GLFW_OPENGL_API@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	callq	__glfwPlatformGetCurrentContext
	movq	_GL_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	$13, %r14d
	movl	$13, %edx
	movq	%rax, %rdi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$13, %r14d
	movl	$13, %edx
	movq	%rbx, %rdi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	$10, %r14d
	movl	$10, %edx
	movq	%rbx, %rdi
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	addq	%r14, %rbx
	movq	_GLFW_OPENGL_ES_API@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_sscanf
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
LBB0_9:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__glfwInputError
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenGL ES-CM "

L_.str.1:                               ## @.str.1
	.asciz	"OpenGL ES-CL "

L_.str.2:                               ## @.str.2
	.asciz	"OpenGL ES "

	.comm	_GLFW_OPENGL_API,4,2            ## @GLFW_OPENGL_API
	.comm	_GL_VERSION,4,2                 ## @GL_VERSION
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Failed to retrieve context version string"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GLFW_OPENGL_ES_API,4,2         ## @GLFW_OPENGL_ES_API
L_.str.4:                               ## @.str.4
	.asciz	"%d.%d.%d"

L_.str.5:                               ## @.str.5
	.asciz	"No version found in context version string"

	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.no_dead_strip	_parseVersionString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseVersionString
_parseVersionString:                    ; @parseVersionString
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GLFW_OPENGL_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_OPENGL_API@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	bl	__glfwPlatformGetCurrentContext
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _GL_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	blr	x8
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w24, #13
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w24, #13
	mov	x0, x23
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w24, #10
	mov	x0, x23
	mov	w2, #10
	bl	_strncmp
	cbnz	x0, LBB0_5
LBB0_4:
	add	x23, x23, x24
Lloh12:
	adrp	x8, _GLFW_OPENGL_ES_API@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLFW_OPENGL_ES_API@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_5:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_sscanf
	cbz	w0, LBB0_8
; %bb.6:
Lloh17:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_9:
Lloh23:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	__glfwInputError
Lloh26:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenGL ES-CM "

l_.str.1:                               ; @.str.1
	.asciz	"OpenGL ES-CL "

l_.str.2:                               ; @.str.2
	.asciz	"OpenGL ES "

	.comm	_GLFW_OPENGL_API,4,2            ; @GLFW_OPENGL_API
	.comm	_GL_VERSION,4,2                 ; @GL_VERSION
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Failed to retrieve context version string"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GLFW_OPENGL_ES_API,4,2         ; @GLFW_OPENGL_ES_API
l_.str.4:                               ; @.str.4
	.asciz	"%d.%d.%d"

l_.str.5:                               ; @.str.5
	.asciz	"No version found in context version string"

	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.no_dead_strip	_parseVersionString
.subsections_via_symbols
