	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gl_GenTextures
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_GenTextures
	.p2align	4, 0x90
_gl_GenTextures:                        ## @gl_GenTextures
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_1
## %bb.15:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_1:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_HashFindFreeKeyBlock
	testq	%r15, %r15
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	cmpq	$4, %r15
	jae	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rax
	andq	$-4, %rax
	movq	%rbx, %xmm1
	pshufd	$68, %xmm1, %xmm0               ## xmm0 = xmm1[0,1,0,1]
	leaq	-4(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$2, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.7:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [2,2]
	paddq	%xmm1, %xmm2
	pshufd	$68, %xmm2, %xmm3               ## xmm3 = xmm2[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = [8,8]
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm2, %xmm6
	paddq	%xmm0, %xmm6
	movdqa	%xmm3, %xmm7
	paddq	%xmm2, %xmm7
	movdqu	%xmm6, (%r12,%rdx,8)
	movdqu	%xmm7, 16(%r12,%rdx,8)
	movdqa	%xmm2, %xmm6
	paddq	%xmm4, %xmm6
	movdqa	%xmm3, %xmm7
	paddq	%xmm6, %xmm7
	paddq	%xmm0, %xmm6
	movdqu	%xmm6, 32(%r12,%rdx,8)
	movdqu	%xmm7, 48(%r12,%rdx,8)
	addq	$8, %rdx
	paddq	%xmm5, %xmm2
	addq	$-2, %rsi
	jne	LBB0_8
## %bb.9:
	testb	$1, %cl
	je	LBB0_11
LBB0_10:
	paddq	%xmm2, %xmm0
	paddq	LCPI0_1(%rip), %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm2, %xmm1
	movdqu	%xmm0, (%r12,%rdx,8)
	movdqu	%xmm1, 16(%r12,%rdx,8)
LBB0_11:
	cmpq	%r15, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rax), %rcx
	movq	%rcx, (%r12,%rax,8)
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_4
LBB0_12:
	testq	%r15, %r15
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_gl_alloc_texture_object
	incq	%rbx
	decq	%r15
	jne	LBB0_13
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	testb	$1, %cl
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glGenTextures"

	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gl_GenTextures
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_GenTextures
	.p2align	2
_gl_GenTextures:                        ; @gl_GenTextures
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_gl_error
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_HashFindFreeKeyBlock
	cbz	x20, LBB0_12
; %bb.3:
	mov	x21, x0
	cmp	x20, #8
	b.hs	LBB0_5
; %bb.4:
	mov	x8, #0
	b	LBB0_8
LBB0_5:
	dup.2d	v0, x21
	fmov	d3, x21
	mov	w8, #2
	fmov	d1, x8
	add.2d	v1, v3, v1
	dup.2d	v1, v1[0]
	and	x8, x20, #0xfffffffffffffff8
	mov	w9, #4
	fmov	d2, x9
	add.2d	v2, v3, v2
	dup.2d	v2, v2[0]
	mov	w9, #6
	fmov	d4, x9
	add.2d	v3, v3, v4
	dup.2d	v3, v3[0]
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	q4, [x9, lCPI0_0@PAGEOFF]
	add	x9, x22, #32
	mov	w10, #8
	dup.2d	v5, x10
	mov	x10, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v6, v4, v0
	add.2d	v7, v1, v4
	add.2d	v16, v2, v4
	add.2d	v17, v3, v4
	stp	q6, q7, [x9, #-32]
	stp	q16, q17, [x9], #64
	add.2d	v4, v4, v5
	subs	x10, x10, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x8, x20
	b.eq	LBB0_10
LBB0_8:
	sub	x9, x20, x8
	add	x10, x22, x8, lsl #3
	add	x8, x21, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x10], #8
	add	x8, x8, #1
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	cbz	x20, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, #0
	bl	_gl_alloc_texture_object
	add	x21, x21, #1
	subs	x20, x20, #1
	b.ne	LBB0_11
LBB0_12:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glGenTextures"

	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
.subsections_via_symbols
