	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choosePixelFormat
_choosePixelFormat:                     ## @choosePixelFormat
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	__glfw@GOTPCREL(%rip), %rax
	cmpq	$0, 24(%rax)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_WGL_NUMBER_PIXEL_FORMATS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_getPixelFormatAttrib
	jmp	LBB0_3
LBB0_2:
	movl	(%rdi), %edi
	movl	$1, %esi
	movl	$64, %edx
	xorl	%ecx, %ecx
	callq	_DescribePixelFormat
LBB0_3:
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$80, %esi
	callq	_calloc
	movq	%rax, %rsi
	testl	%ebx, %ebx
	jle	LBB0_34
## %bb.4:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	negl	%ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_PFD_GENERIC_FORMAT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	leal	(%rbx,%r14), %eax
	incl	%eax
	movl	%r14d, %ecx
	incl	%ecx
	movl	%ecx, %r14d
	cmpl	$1, %eax
	je	LBB0_33
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movslq	%r15d, %rax
	leaq	(%rax,%rax,4), %r12
	shlq	$4, %r12
	movq	%rsi, %r13
	leaq	(%rsi,%r12), %rbx
	movq	__glfw@GOTPCREL(%rip), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_SUPPORT_OPENGL_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	testl	%eax, %eax
	je	LBB0_30
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_DRAW_TO_WINDOW_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	testl	%eax, %eax
	je	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_PIXEL_TYPE_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movq	_WGL_TYPE_RGBA_ARB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_ACCELERATION_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movq	_WGL_NO_ACCELERATION_ARB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_30
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_RED_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, (%rbx)
	movq	_WGL_GREEN_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 4(%r13,%r12)
	movq	_WGL_BLUE_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 8(%r13,%r12)
	movq	_WGL_ALPHA_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 12(%r13,%r12)
	movq	_WGL_DEPTH_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 16(%r13,%r12)
	movq	_WGL_STENCIL_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 20(%r13,%r12)
	movq	_WGL_ACCUM_RED_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 24(%r13,%r12)
	movq	_WGL_ACCUM_GREEN_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 28(%r13,%r12)
	movq	_WGL_ACCUM_BLUE_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 32(%r13,%r12)
	movq	_WGL_ACCUM_ALPHA_BITS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 36(%r13,%r12)
	movq	_WGL_AUX_BUFFERS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movl	%eax, 40(%r13,%r12)
	movq	_WGL_STEREO_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r13,%r12)
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_DOUBLE_BUFFER_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	testl	%eax, %eax
	movq	%r13, %rsi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rsi,%r12)
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	__glfw@GOTPCREL(%rip), %rax
	cmpq	$0, 16(%rax)
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_SAMPLES_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %rbx
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movq	%rbx, %rsi
	movl	%eax, 44(%rbx,%r12)
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	__glfw@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rax
	orq	(%rcx), %rax
	je	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %rbx
	movl	%r14d, %esi
	callq	_getPixelFormatAttrib
	movq	%rbx, %rsi
	testl	%eax, %eax
	je	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rsi,%r12)
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r14d, %esi
	movl	$64, %edx
	leaq	-136(%rbp), %rcx
	callq	_DescribePixelFormat
	testl	%eax, %eax
	je	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-136(%rbp), %eax
	movq	_PFD_DRAW_TO_WINDOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_PFD_SUPPORT_OPENGL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_PFD_GENERIC_ACCELERATED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %rcx
	movq	_PFD_TYPE_RGBA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movups	-120(%rbp), %xmm0
	movups	%xmm0, (%rbx)
	movups	-104(%rbp), %xmm0
	movq	%r13, %rsi
	movups	%xmm0, 16(%r13,%r12)
	movl	-88(%rbp), %ecx
	movl	%ecx, 32(%r13,%r12)
	movl	-84(%rbp), %ecx
	movl	%ecx, 36(%r13,%r12)
	movl	-80(%rbp), %ecx
	movl	%ecx, 40(%r13,%r12)
	movq	_PFD_STEREO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rsi,%r12)
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_PFD_DOUBLEBUFFER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rsi,%r12)
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, 48(%rsi,%r12)
	incl	%r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rsi
	jmp	LBB0_32
LBB0_33:
	testl	%r15d, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_34
## %bb.35:
	movq	%rsi, %r14
	movl	%r15d, %edx
	callq	__glfwChooseFBConfig
	testq	%rax, %rax
	je	LBB0_36
## %bb.38:
	movl	48(%rax), %ebx
	jmp	LBB0_39
LBB0_34:
	movq	%rsi, %r14
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_37
LBB0_36:
	movq	_GLFW_FORMAT_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_37:
	callq	__glfwInputError
	xorl	%ebx, %ebx
LBB0_39:
	movq	%r14, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,32,3                     ## @_glfw
	.comm	_WGL_NUMBER_PIXEL_FORMATS_ARB,4,2 ## @WGL_NUMBER_PIXEL_FORMATS_ARB
	.comm	_WGL_SUPPORT_OPENGL_ARB,4,2     ## @WGL_SUPPORT_OPENGL_ARB
	.comm	_WGL_DRAW_TO_WINDOW_ARB,4,2     ## @WGL_DRAW_TO_WINDOW_ARB
	.comm	_WGL_PIXEL_TYPE_ARB,4,2         ## @WGL_PIXEL_TYPE_ARB
	.comm	_WGL_TYPE_RGBA_ARB,4,2          ## @WGL_TYPE_RGBA_ARB
	.comm	_WGL_ACCELERATION_ARB,4,2       ## @WGL_ACCELERATION_ARB
	.comm	_WGL_NO_ACCELERATION_ARB,4,2    ## @WGL_NO_ACCELERATION_ARB
	.comm	_WGL_RED_BITS_ARB,4,2           ## @WGL_RED_BITS_ARB
	.comm	_WGL_GREEN_BITS_ARB,4,2         ## @WGL_GREEN_BITS_ARB
	.comm	_WGL_BLUE_BITS_ARB,4,2          ## @WGL_BLUE_BITS_ARB
	.comm	_WGL_ALPHA_BITS_ARB,4,2         ## @WGL_ALPHA_BITS_ARB
	.comm	_WGL_DEPTH_BITS_ARB,4,2         ## @WGL_DEPTH_BITS_ARB
	.comm	_WGL_STENCIL_BITS_ARB,4,2       ## @WGL_STENCIL_BITS_ARB
	.comm	_WGL_ACCUM_RED_BITS_ARB,4,2     ## @WGL_ACCUM_RED_BITS_ARB
	.comm	_WGL_ACCUM_GREEN_BITS_ARB,4,2   ## @WGL_ACCUM_GREEN_BITS_ARB
	.comm	_WGL_ACCUM_BLUE_BITS_ARB,4,2    ## @WGL_ACCUM_BLUE_BITS_ARB
	.comm	_WGL_ACCUM_ALPHA_BITS_ARB,4,2   ## @WGL_ACCUM_ALPHA_BITS_ARB
	.comm	_WGL_AUX_BUFFERS_ARB,4,2        ## @WGL_AUX_BUFFERS_ARB
	.comm	_WGL_STEREO_ARB,4,2             ## @WGL_STEREO_ARB
	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
	.comm	_WGL_DOUBLE_BUFFER_ARB,4,2      ## @WGL_DOUBLE_BUFFER_ARB
	.comm	_WGL_SAMPLES_ARB,4,2            ## @WGL_SAMPLES_ARB
	.comm	_WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB,4,2 ## @WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB
	.comm	_PFD_DRAW_TO_WINDOW,4,2         ## @PFD_DRAW_TO_WINDOW
	.comm	_PFD_SUPPORT_OPENGL,4,2         ## @PFD_SUPPORT_OPENGL
	.comm	_PFD_GENERIC_ACCELERATED,4,2    ## @PFD_GENERIC_ACCELERATED
	.comm	_PFD_GENERIC_FORMAT,4,2         ## @PFD_GENERIC_FORMAT
	.comm	_PFD_TYPE_RGBA,8,3              ## @PFD_TYPE_RGBA
	.comm	_PFD_STEREO,4,2                 ## @PFD_STEREO
	.comm	_PFD_DOUBLEBUFFER,4,2           ## @PFD_DOUBLEBUFFER
	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WGL: The driver does not appear to support OpenGL"

	.comm	_GLFW_FORMAT_UNAVAILABLE,4,2    ## @GLFW_FORMAT_UNAVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"WGL: Failed to find a suitable pixel format"

	.no_dead_strip	_choosePixelFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choosePixelFormat
_choosePixelFormat:                     ; @choosePixelFormat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x25, __glfw@GOTPAGE
Lloh1:
	ldr	x25, [x25, __glfw@GOTPAGEOFF]
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _WGL_NUMBER_PIXEL_FORMATS_ARB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WGL_NUMBER_PIXEL_FORMATS_ARB@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_getPixelFormatAttrib
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21]
	mov	w1, #1
	mov	w2, #64
	mov	x3, #0
	bl	_DescribePixelFormat
LBB0_3:
	mov	x22, x0
	mov	w26, #80
	mov	w1, #80
	bl	_calloc
	mov	x20, x0
	cmp	w22, #1
	b.lt	LBB0_34
; %bb.4:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	w24, #0
	mov	w23, #0
Lloh5:
	adrp	x19, _WGL_SUPPORT_OPENGL_ARB@GOTPAGE
Lloh6:
	ldr	x19, [x19, _WGL_SUPPORT_OPENGL_ARB@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	madd	x8, x27, x26, x20
	str	w24, [x8, #48]
	add	w23, w23, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w22, w24
	b.eq	LBB0_31
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w24, #1
	sxtw	x27, w23
	smaddl	x28, w23, w26, x20
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x19]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	cbz	w0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh7:
	adrp	x8, _WGL_DRAW_TO_WINDOW_ARB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WGL_DRAW_TO_WINDOW_ARB@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	cbz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh10:
	adrp	x8, _WGL_PIXEL_TYPE_ARB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WGL_PIXEL_TYPE_ARB@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
Lloh13:
	adrp	x8, _WGL_TYPE_RGBA_ARB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WGL_TYPE_RGBA_ARB@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh16:
	adrp	x8, _WGL_ACCELERATION_ARB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WGL_ACCELERATION_ARB@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
Lloh19:
	adrp	x8, _WGL_NO_ACCELERATION_ARB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WGL_NO_ACCELERATION_ARB@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x8, _WGL_RED_BITS_ARB@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WGL_RED_BITS_ARB@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28]
Lloh25:
	adrp	x8, _WGL_GREEN_BITS_ARB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WGL_GREEN_BITS_ARB@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	madd	x28, x27, x26, x20
	str	w0, [x28, #4]
Lloh28:
	adrp	x8, _WGL_BLUE_BITS_ARB@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WGL_BLUE_BITS_ARB@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #8]
Lloh31:
	adrp	x8, _WGL_ALPHA_BITS_ARB@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WGL_ALPHA_BITS_ARB@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #12]
Lloh34:
	adrp	x8, _WGL_DEPTH_BITS_ARB@GOTPAGE
Lloh35:
	ldr	x8, [x8, _WGL_DEPTH_BITS_ARB@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #16]
Lloh37:
	adrp	x8, _WGL_STENCIL_BITS_ARB@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WGL_STENCIL_BITS_ARB@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #20]
Lloh40:
	adrp	x8, _WGL_ACCUM_RED_BITS_ARB@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WGL_ACCUM_RED_BITS_ARB@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #24]
Lloh43:
	adrp	x8, _WGL_ACCUM_GREEN_BITS_ARB@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WGL_ACCUM_GREEN_BITS_ARB@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #28]
Lloh46:
	adrp	x8, _WGL_ACCUM_BLUE_BITS_ARB@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WGL_ACCUM_BLUE_BITS_ARB@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #32]
Lloh49:
	adrp	x8, _WGL_ACCUM_ALPHA_BITS_ARB@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WGL_ACCUM_ALPHA_BITS_ARB@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #36]
Lloh52:
	adrp	x8, _WGL_AUX_BUFFERS_ARB@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WGL_AUX_BUFFERS_ARB@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	str	w0, [x28, #40]
Lloh55:
	adrp	x8, _WGL_STEREO_ARB@GOTPAGE
Lloh56:
	ldr	x8, [x8, _WGL_STEREO_ARB@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh58:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	madd	x9, x27, x26, x20
	str	x8, [x9, #64]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh61:
	adrp	x8, _WGL_DOUBLE_BUFFER_ARB@GOTPAGE
Lloh62:
	ldr	x8, [x8, _WGL_DOUBLE_BUFFER_ARB@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	cbz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh64:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	madd	x9, x27, x26, x20
	str	x8, [x9, #56]
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh67:
	adrp	x8, _WGL_SAMPLES_ARB@GOTPAGE
Lloh68:
	ldr	x8, [x8, _WGL_SAMPLES_ARB@GOTPAGEOFF]
Lloh69:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	madd	x8, x27, x26, x20
	str	w0, [x8, #44]
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x25]
	orr	x8, x8, x9
	cbz	x8, LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh70:
	adrp	x8, _WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPAGE
Lloh71:
	ldr	x8, [x8, _WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_getPixelFormatAttrib
	cbz	w0, LBB0_5
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh73:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
	madd	x9, x27, x26, x20
	str	x8, [x9, #72]
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21]
	add	x3, sp, #16
	mov	x1, x24
	mov	w2, #64
	bl	_DescribePixelFormat
	cbz	w0, LBB0_6
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #16]
Lloh76:
	adrp	x9, _PFD_DRAW_TO_WINDOW@GOTPAGE
Lloh77:
	ldr	x9, [x9, _PFD_DRAW_TO_WINDOW@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh79:
	adrp	x9, _PFD_SUPPORT_OPENGL@GOTPAGE
Lloh80:
	ldr	x9, [x9, _PFD_SUPPORT_OPENGL@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh82:
	adrp	x9, _PFD_GENERIC_ACCELERATED@GOTPAGE
Lloh83:
	ldr	x9, [x9, _PFD_GENERIC_ACCELERATED@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [sp, #24]
Lloh85:
	adrp	x10, _PFD_TYPE_RGBA@GOTPAGE
Lloh86:
	ldr	x10, [x10, _PFD_TYPE_RGBA@GOTPAGEOFF]
Lloh87:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	q0, q1, [sp, #32]
	str	q0, [x28]
	madd	x9, x27, x26, x20
	str	q1, [x9, #16]
	ldr	d0, [sp, #64]
	str	d0, [x9, #32]
	ldr	w10, [sp, #72]
	str	w10, [x9, #40]
Lloh88:
	adrp	x9, _PFD_STEREO@GOTPAGE
Lloh89:
	ldr	x9, [x9, _PFD_STEREO@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh91:
	adrp	x9, _GLFW_TRUE@GOTPAGE
Lloh92:
	ldr	x9, [x9, _GLFW_TRUE@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	madd	x10, x27, x26, x20
	str	x9, [x10, #64]
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh94:
	adrp	x9, _PFD_DOUBLEBUFFER@GOTPAGE
Lloh95:
	ldr	x9, [x9, _PFD_DOUBLEBUFFER@GOTPAGEOFF]
Lloh96:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh97:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh99:
	ldr	x8, [x8]
	madd	x9, x27, x26, x20
	str	x8, [x9, #56]
	b	LBB0_5
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh100:
	adrp	x9, _PFD_GENERIC_FORMAT@GOTPAGE
Lloh101:
	ldr	x9, [x9, _PFD_GENERIC_FORMAT@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
	b	LBB0_25
LBB0_31:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	cbz	w23, LBB0_34
; %bb.32:
	mov	x1, x20
	mov	x2, x23
	bl	__glfwChooseFBConfig
	cbz	x0, LBB0_35
; %bb.33:
	ldr	w19, [x0, #48]
	b	LBB0_37
LBB0_34:
Lloh103:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh104:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
Lloh106:
	adrp	x1, l_.str@PAGE
Lloh107:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_36
LBB0_35:
Lloh108:
	adrp	x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGE
Lloh109:
	ldr	x8, [x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGEOFF]
Lloh110:
	ldr	w0, [x8]
Lloh111:
	adrp	x1, l_.str.1@PAGE
Lloh112:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_36:
	bl	__glfwInputError
	mov	w19, #0
LBB0_37:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,32,3                     ; @_glfw
	.comm	_WGL_NUMBER_PIXEL_FORMATS_ARB,4,2 ; @WGL_NUMBER_PIXEL_FORMATS_ARB
	.comm	_WGL_SUPPORT_OPENGL_ARB,4,2     ; @WGL_SUPPORT_OPENGL_ARB
	.comm	_WGL_DRAW_TO_WINDOW_ARB,4,2     ; @WGL_DRAW_TO_WINDOW_ARB
	.comm	_WGL_PIXEL_TYPE_ARB,4,2         ; @WGL_PIXEL_TYPE_ARB
	.comm	_WGL_TYPE_RGBA_ARB,4,2          ; @WGL_TYPE_RGBA_ARB
	.comm	_WGL_ACCELERATION_ARB,4,2       ; @WGL_ACCELERATION_ARB
	.comm	_WGL_NO_ACCELERATION_ARB,4,2    ; @WGL_NO_ACCELERATION_ARB
	.comm	_WGL_RED_BITS_ARB,4,2           ; @WGL_RED_BITS_ARB
	.comm	_WGL_GREEN_BITS_ARB,4,2         ; @WGL_GREEN_BITS_ARB
	.comm	_WGL_BLUE_BITS_ARB,4,2          ; @WGL_BLUE_BITS_ARB
	.comm	_WGL_ALPHA_BITS_ARB,4,2         ; @WGL_ALPHA_BITS_ARB
	.comm	_WGL_DEPTH_BITS_ARB,4,2         ; @WGL_DEPTH_BITS_ARB
	.comm	_WGL_STENCIL_BITS_ARB,4,2       ; @WGL_STENCIL_BITS_ARB
	.comm	_WGL_ACCUM_RED_BITS_ARB,4,2     ; @WGL_ACCUM_RED_BITS_ARB
	.comm	_WGL_ACCUM_GREEN_BITS_ARB,4,2   ; @WGL_ACCUM_GREEN_BITS_ARB
	.comm	_WGL_ACCUM_BLUE_BITS_ARB,4,2    ; @WGL_ACCUM_BLUE_BITS_ARB
	.comm	_WGL_ACCUM_ALPHA_BITS_ARB,4,2   ; @WGL_ACCUM_ALPHA_BITS_ARB
	.comm	_WGL_AUX_BUFFERS_ARB,4,2        ; @WGL_AUX_BUFFERS_ARB
	.comm	_WGL_STEREO_ARB,4,2             ; @WGL_STEREO_ARB
	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
	.comm	_WGL_DOUBLE_BUFFER_ARB,4,2      ; @WGL_DOUBLE_BUFFER_ARB
	.comm	_WGL_SAMPLES_ARB,4,2            ; @WGL_SAMPLES_ARB
	.comm	_WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB,4,2 ; @WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB
	.comm	_PFD_DRAW_TO_WINDOW,4,2         ; @PFD_DRAW_TO_WINDOW
	.comm	_PFD_SUPPORT_OPENGL,4,2         ; @PFD_SUPPORT_OPENGL
	.comm	_PFD_GENERIC_ACCELERATED,4,2    ; @PFD_GENERIC_ACCELERATED
	.comm	_PFD_GENERIC_FORMAT,4,2         ; @PFD_GENERIC_FORMAT
	.comm	_PFD_TYPE_RGBA,8,3              ; @PFD_TYPE_RGBA
	.comm	_PFD_STEREO,4,2                 ; @PFD_STEREO
	.comm	_PFD_DOUBLEBUFFER,4,2           ; @PFD_DOUBLEBUFFER
	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WGL: The driver does not appear to support OpenGL"

	.comm	_GLFW_FORMAT_UNAVAILABLE,4,2    ; @GLFW_FORMAT_UNAVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"WGL: Failed to find a suitable pixel format"

	.no_dead_strip	_choosePixelFormat
.subsections_via_symbols
