	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInitWGL                   ## -- Begin function _glfwInitWGL
	.p2align	4, 0x90
__glfwInitWGL:                          ## @_glfwInitWGL
	.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	__glfw@GOTPCREL(%rip), %rbx
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r14
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_LoadLibraryA
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetProcAddress
	movq	%rax, 48(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_GetProcAddress
	movq	%rax, 40(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_GetProcAddress
	movq	%rax, 32(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_GetProcAddress
	movq	%rax, 24(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_GetProcAddress
	movq	%rax, 16(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_GetProcAddress
	movq	%rax, 8(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r14
LBB0_4:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,56,3                     ## @_glfw
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opengl32.dll"

	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"WGL: Failed to load opengl32.dll"

	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
L_.str.2:                               ## @.str.2
	.asciz	"wglCreateContext"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"wglGetCurrentDC"

L_.str.6:                               ## @.str.6
	.asciz	"wglMakeCurrent"

L_.str.7:                               ## @.str.7
	.asciz	"wglShareLists"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInitWGL                   ; -- Begin function _glfwInitWGL
	.p2align	2
__glfwInitWGL:                          ; @_glfwInitWGL
	.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
Lloh0:
	adrp	x19, __glfw@GOTPAGE
Lloh1:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LoadLibraryA
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #48]
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #40]
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #32]
	ldr	x0, [x19]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #24]
	ldr	x0, [x19]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #16]
	ldr	x0, [x19]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_GetProcAddress
	str	x0, [x19, #8]
LBB0_3:
Lloh16:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh18:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
Lloh23:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,56,3                     ; @_glfw
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opengl32.dll"

	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"WGL: Failed to load opengl32.dll"

	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
l_.str.2:                               ; @.str.2
	.asciz	"wglCreateContext"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"wglGetCurrentDC"

l_.str.6:                               ; @.str.6
	.asciz	"wglMakeCurrent"

l_.str.7:                               ; @.str.7
	.asciz	"wglShareLists"

.subsections_via_symbols
