	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glad_gl_has_extension
_glad_gl_has_extension:                 ## @glad_gl_has_extension
	.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	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r13
	callq	_GLAD_VERSION_MAJOR
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.1:
	movq	_GLAD_GL_IS_SOME_NEW_VERSION@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.2:
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.3:
	movq	(%r14), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movl	%r12d, %r12d
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	cmpq	%rcx, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14,%rbx,8), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	leaq	1(%rbx), %rcx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_7:
	xorl	%r14d, %r14d
	cmpq	%r12, %rbx
	setb	%r14b
	jmp	LBB0_19
LBB0_8:
	xorl	%r14d, %r14d
	testq	%r13, %r13
	je	LBB0_19
## %bb.9:
	testq	%r15, %r15
	je	LBB0_19
## %bb.10:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	%rax, %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	testb	$-33, (%r13)
	je	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_strstr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r12
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r13
	addq	%rbx, %r13
	cmpq	%r12, %rbx
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$32, -1(%rbx)
	je	LBB0_12
	jmp	LBB0_13
LBB0_18:
	movl	$1, %r14d
	jmp	LBB0_19
LBB0_16:
	xorl	%r14d, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLAD_GL_IS_SOME_NEW_VERSION,4,2 ## @GLAD_GL_IS_SOME_NEW_VERSION
	.no_dead_strip	_glad_gl_has_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glad_gl_has_extension
_glad_gl_has_extension:                 ; @glad_gl_has_extension
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	bl	_GLAD_VERSION_MAJOR
	cmp	w0, #3
	b.lt	LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _GLAD_GL_IS_SOME_NEW_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLAD_GL_IS_SOME_NEW_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.2:
	cbz	w22, LBB0_17
; %bb.3:
	ldr	x0, [x21]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.4:
	mov	w20, w22
	mov	w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	cmp	x20, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21, x22, lsl #3]
	mov	x1, x19
	bl	_strcmp
	add	x8, x22, #1
	cbnz	x0, LBB0_5
LBB0_7:
	cmp	x22, x20
	cset	w0, lo
	b	LBB0_18
LBB0_8:
	mov	w0, #0
	cbz	x20, LBB0_18
; %bb.9:
	cbz	x19, LBB0_18
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	_strstr
	cbz	x0, LBB0_18
; %bb.11:
	mov	x21, x0
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x20]
	orr	w8, w8, #0x20
	cmp	w8, #32
	b.eq	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_strstr
	mov	x21, x0
	cbz	x0, LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	mov	x0, x19
	bl	_strlen
	add	x20, x21, w0, sxtw
	cmp	x21, x22
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldurb	w8, [x21, #-1]
	cmp	w8, #32
	b.eq	LBB0_12
	b	LBB0_13
LBB0_16:
	mov	w0, #1
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GLAD_GL_IS_SOME_NEW_VERSION,4,2 ; @GLAD_GL_IS_SOME_NEW_VERSION
	.no_dead_strip	_glad_gl_has_extension
.subsections_via_symbols
