	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_AreTexturesResident         ## -- Begin function gl_AreTexturesResident
	.p2align	4, 0x90
_gl_AreTexturesResident:                ## @gl_AreTexturesResident
	.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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	movq	%r15, %rdi
	callq	_gl_error
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testq	%r13, %r13
	js	LBB0_11
## %bb.4:
	je	LBB0_10
## %bb.5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_HashLookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_6
	jmp	LBB0_10
LBB0_11:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_7:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glAreTexturesResident"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"glAreTexturesResident(n)"

L_.str.2:                               ## @.str.2
	.asciz	"glAreTexturesResident(textures)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_AreTexturesResident         ; -- Begin function gl_AreTexturesResident
	.p2align	2
_gl_AreTexturesResident:                ; @gl_AreTexturesResident
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _GL_TRUE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GL_TRUE@GOTPAGEOFF]
	ldr	w19, [x24]
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_gl_error
Lloh7:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
LBB0_3:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	tbnz	x23, #63, LBB0_9
; %bb.5:
	cbz	x23, LBB0_3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22]
	cbz	x1, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_HashLookup
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	str	w8, [x21], #4
	add	x22, x22, #8
	subs	x23, x23, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_9:
Lloh10:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_10:
Lloh15:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glAreTexturesResident"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"glAreTexturesResident(n)"

l_.str.2:                               ; @.str.2
	.asciz	"glAreTexturesResident(textures)"

.subsections_via_symbols
