	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glad_gl_find_extensions_gl
_glad_gl_find_extensions_gl:            ## @glad_gl_find_extensions_gl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	$0, -32(%rbp)
	movl	$0, -12(%rbp)
	movq	$0, -24(%rbp)
	leaq	-32(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_glad_gl_get_extensions
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rsi
	movl	-12(%rbp), %edx
	movq	-24(%rbp), %rcx
	leaq	L_.str(%rip), %r8
	movl	%ebx, %edi
	callq	_glad_gl_has_extension
	movq	_GLAD_GL_ARB_multisample@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-32(%rbp), %rsi
	movl	-12(%rbp), %edx
	movq	-24(%rbp), %rcx
	leaq	L_.str.1(%rip), %r8
	movl	%ebx, %edi
	callq	_glad_gl_has_extension
	movq	_GLAD_GL_ARB_robustness@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-32(%rbp), %rsi
	movl	-12(%rbp), %edx
	movq	-24(%rbp), %rcx
	leaq	L_.str.2(%rip), %r8
	movl	%ebx, %edi
	callq	_glad_gl_has_extension
	movq	_GLAD_GL_KHR_debug@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-24(%rbp), %rdi
	movl	-12(%rbp), %esi
	callq	_glad_gl_free_extensions
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GL_ARB_multisample"

	.comm	_GLAD_GL_ARB_multisample,8,3    ## @GLAD_GL_ARB_multisample
L_.str.1:                               ## @.str.1
	.asciz	"GL_ARB_robustness"

	.comm	_GLAD_GL_ARB_robustness,8,3     ## @GLAD_GL_ARB_robustness
L_.str.2:                               ## @.str.2
	.asciz	"GL_KHR_debug"

	.comm	_GLAD_GL_KHR_debug,8,3          ## @GLAD_GL_KHR_debug
	.no_dead_strip	_glad_gl_find_extensions_gl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glad_gl_find_extensions_gl
_glad_gl_find_extensions_gl:            ; @glad_gl_find_extensions_gl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
	add	x1, sp, #24
	add	x2, sp, #20
	add	x3, sp, #8
	bl	_glad_gl_get_extensions
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #20]
	ldr	x3, [sp, #8]
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	bl	_glad_gl_has_extension
Lloh2:
	adrp	x8, _GLAD_GL_ARB_multisample@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLAD_GL_ARB_multisample@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #20]
	ldr	x3, [sp, #8]
Lloh5:
	adrp	x4, l_.str.1@PAGE
Lloh6:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_glad_gl_has_extension
Lloh7:
	adrp	x8, _GLAD_GL_ARB_robustness@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLAD_GL_ARB_robustness@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #20]
	ldr	x3, [sp, #8]
Lloh10:
	adrp	x4, l_.str.2@PAGE
Lloh11:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_glad_gl_has_extension
Lloh12:
	adrp	x8, _GLAD_GL_KHR_debug@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLAD_GL_KHR_debug@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	ldr	x0, [sp, #8]
	ldr	w1, [sp, #20]
	bl	_glad_gl_free_extensions
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GL_ARB_multisample"

	.comm	_GLAD_GL_ARB_multisample,8,3    ; @GLAD_GL_ARB_multisample
l_.str.1:                               ; @.str.1
	.asciz	"GL_ARB_robustness"

	.comm	_GLAD_GL_ARB_robustness,8,3     ; @GLAD_GL_ARB_robustness
l_.str.2:                               ; @.str.2
	.asciz	"GL_KHR_debug"

	.comm	_GLAD_GL_KHR_debug,8,3          ; @GLAD_GL_KHR_debug
	.no_dead_strip	_glad_gl_find_extensions_gl
.subsections_via_symbols
