	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_context_extensions
_list_context_extensions:               ## @list_context_extensions
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_get_api_name
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	cmpl	$3, %r14d
	jl	LBB0_5
## %bb.1:
	movq	_GLFW_OPENGL_API@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	_GL_NUM_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rsi
	callq	_glGetIntegerv
	cmpl	$0, -28(%rbp)
	jle	LBB0_13
## %bb.3:
	xorl	%ebx, %ebx
	movq	_GL_EXTENSIONS@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_glGetStringi
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_printf
	incl	%ebx
	cmpl	-28(%rbp), %ebx
	jl	LBB0_4
	jmp	LBB0_13
LBB0_5:
	movq	_GL_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glGetString
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.6:
	movq	%rax, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$10, %edi
	callq	_putchar
	cmpb	$0, (%rbx)
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movl	$32, %edi
	callq	_putchar
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$32, %al
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	movsbl	%al, %edi
	callq	_putchar
	incq	%rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rax), %rbx
	cmpb	$32, 1(%rax)
	movq	%rbx, %rax
	je	LBB0_11
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s context extensions:\n"

	.comm	_GLFW_OPENGL_API,4,2            ## @GLFW_OPENGL_API
	.comm	_GL_NUM_EXTENSIONS,4,2          ## @GL_NUM_EXTENSIONS
L_.str.1:                               ## @.str.1
	.asciz	" %s\n"

	.comm	_GL_EXTENSIONS,4,2              ## @GL_EXTENSIONS
	.no_dead_strip	_list_context_extensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_context_extensions
_list_context_extensions:               ; @list_context_extensions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_get_api_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	cmp	w20, #3
	b.lt	LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _GLFW_OPENGL_API@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLFW_OPENGL_API@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _GL_NUM_EXTENSIONS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_NUM_EXTENSIONS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_glGetIntegerv
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w19, #0
Lloh8:
	adrp	x21, _GL_EXTENSIONS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _GL_EXTENSIONS@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_glGetStringi
	mov	x1, x0
	mov	x0, x20
	bl	_printf
	add	w19, w19, #1
	ldr	w8, [sp, #12]
	cmp	w19, w8
	b.lt	LBB0_4
	b	LBB0_12
LBB0_5:
Lloh12:
	adrp	x8, _GL_EXTENSIONS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GL_EXTENSIONS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_glGetString
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.6:
	mov	x19, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #10
	bl	_putchar
	ldrb	w8, [x19]
	cbz	w8, LBB0_12
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	w0, #32
	bl	_putchar
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #32
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	sxtb	w0, w8
	bl	_putchar
	add	x19, x19, #1
	ldrb	w8, [x19]
	cbnz	w8, LBB0_9
	b	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19, #1]!
	cmp	w8, #32
	b.eq	LBB0_11
	b	LBB0_7
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s context extensions:\n"

	.comm	_GLFW_OPENGL_API,4,2            ; @GLFW_OPENGL_API
	.comm	_GL_NUM_EXTENSIONS,4,2          ; @GL_NUM_EXTENSIONS
l_.str.1:                               ; @.str.1
	.asciz	" %s\n"

	.comm	_GL_EXTENSIONS,4,2              ; @GL_EXTENSIONS
	.no_dead_strip	_list_context_extensions
.subsections_via_symbols
