	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_textures
_init_textures:                         ## @init_textures
	.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	%rdi, %r13
	callq	_load_tex_images
	movq	8(%r13), %rsi
	movl	$6, %edi
	callq	_glGenTextures
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r10d
	movl	20(%r13), %eax
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_NEAREST@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	4(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %eax
	movl	20(%r13), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	8(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%r13), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	12(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%r13), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	16(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r13), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movq	8(%r13), %rax
	movl	20(%rax), %esi
	callq	_glBindTexture
	movl	(%r14), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r13), %ebx
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_glTexParameterf
	movq	_GL_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_texCoords@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$2, %edi
	xorl	%edx, %edx
	callq	_glTexCoordPointer
	movq	_GL_TEXTURE_COORD_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnableClientState
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glEnable                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_RGB,4,2                     ## @GL_RGB
	.comm	_IMAGE_SIZE,4,2                 ## @IMAGE_SIZE
	.comm	_GL_UNSIGNED_BYTE,4,2           ## @GL_UNSIGNED_BYTE
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ## @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,8,3                 ## @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ## @GL_TEXTURE_MAG_FILTER
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_texCoords,4,2                  ## @texCoords
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ## @GL_TEXTURE_COORD_ARRAY
	.no_dead_strip	_init_textures
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_textures
_init_textures:                         ; @init_textures
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_load_tex_images
	ldr	x1, [x19, #8]
	mov	w0, #6
	bl	_glGenTextures
Lloh0:
	adrp	x20, _GL_TEXTURE_2D@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GL_TEXTURE_2D@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	bl	_glBindTexture
	ldr	w0, [x20]
Lloh2:
	adrp	x22, _GL_RGB@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GL_RGB@GOTPAGEOFF]
Lloh4:
	adrp	x23, _IMAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _IMAGE_SIZE@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x23]
Lloh6:
	adrp	x24, _GL_UNSIGNED_BYTE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _GL_UNSIGNED_BYTE@GOTPAGEOFF]
	ldr	w7, [x24]
	ldr	w8, [x19, #20]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
Lloh8:
	adrp	x25, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh9:
	ldr	x25, [x25, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh10:
	adrp	x21, _GL_NEAREST@GOTPAGE
Lloh11:
	ldr	x21, [x21, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
Lloh12:
	adrp	x26, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh13:
	ldr	x26, [x26, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	bl	_glBindTexture
	ldr	w0, [x20]
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w7, [x24]
	ldr	w8, [x19, #20]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_glBindTexture
	ldr	w0, [x20]
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w7, [x24]
	ldr	w8, [x19, #16]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #12]
	bl	_glBindTexture
	ldr	w0, [x20]
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w7, [x24]
	ldr	w8, [x19, #16]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	bl	_glBindTexture
	ldr	w0, [x20]
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w7, [x24]
	ldr	w8, [x19]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #20]
	bl	_glBindTexture
	ldr	w0, [x20]
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w7, [x24]
	ldr	w8, [x19]
	str	w8, [sp]
	mov	w1, #0
	mov	x4, x3
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	w2, [x21]
	bl	_glTexParameterf
	ldr	w0, [x20]
	ldr	w1, [x26]
	ldr	w2, [x21]
	bl	_glTexParameterf
Lloh14:
	adrp	x8, _GL_FLOAT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_FLOAT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _texCoords@GOTPAGE
Lloh18:
	ldr	x8, [x8, _texCoords@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	w0, #2
	mov	w2, #0
	bl	_glTexCoordPointer
Lloh20:
	adrp	x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_glEnableClientState
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_glEnable
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_RGB,4,2                     ; @GL_RGB
	.comm	_IMAGE_SIZE,4,2                 ; @IMAGE_SIZE
	.comm	_GL_UNSIGNED_BYTE,4,2           ; @GL_UNSIGNED_BYTE
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ; @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,8,3                 ; @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ; @GL_TEXTURE_MAG_FILTER
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_texCoords,4,2                  ; @texCoords
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ; @GL_TEXTURE_COORD_ARRAY
	.no_dead_strip	_init_textures
.subsections_via_symbols
