	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_ShutdownGPUShaders        ## -- Begin function GLSL_ShutdownGPUShaders
	.p2align	4, 0x90
_GLSL_ShutdownGPUShaders:               ## @GLSL_ShutdownGPUShaders
	.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	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
	movq	_ATTR_INDEX_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_qglDisableVertexAttribArray
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	callq	_GL_BindNullProgram
	movq	_GENERICDEF_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	movq	_tr@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %rdi
	addq	%r12, %rdi
	callq	_GLSL_DeleteGPUShader
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_tr@GOTPCREL(%rip), %r15
	leaq	72(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	movq	_FOGDEF_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.7:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rdi
	addq	%r12, %rdi
	callq	_GLSL_DeleteGPUShader
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	_DLIGHTDEF_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rdi
	addq	%r12, %rdi
	callq	_GLSL_DeleteGPUShader
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_LIGHTDEF_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_15
## %bb.13:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rdi
	addq	%r12, %rdi
	callq	_GLSL_DeleteGPUShader
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	movq	_SHADOWMAPDEF_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_18
## %bb.16:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rdi
	addq	%r12, %rdi
	callq	_GLSL_DeleteGPUShader
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_17
LBB0_18:
	leaq	36(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	leaq	32(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	leaq	28(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	leaq	24(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	movq	16(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	movq	16(%r15), %rdi
	addq	$4, %rdi
	callq	_GLSL_DeleteGPUShader
	leaq	12(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	leaq	8(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	movq	(%r15), %rdi
	callq	_GLSL_DeleteGPUShader
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_GLSL_DeleteGPUShader
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_GLSL_DeleteGPUShader
	movq	(%r15), %rdi
	addq	$12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GLSL_DeleteGPUShader           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"------- GLSL_ShutdownGPUShaders -------\n"

	.comm	_ATTR_INDEX_COUNT,4,2           ## @ATTR_INDEX_COUNT
	.comm	_GENERICDEF_COUNT,4,2           ## @GENERICDEF_COUNT
	.comm	_tr,88,3                        ## @tr
	.comm	_FOGDEF_COUNT,4,2               ## @FOGDEF_COUNT
	.comm	_DLIGHTDEF_COUNT,4,2            ## @DLIGHTDEF_COUNT
	.comm	_LIGHTDEF_COUNT,4,2             ## @LIGHTDEF_COUNT
	.comm	_SHADOWMAPDEF_COUNT,4,2         ## @SHADOWMAPDEF_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_ShutdownGPUShaders        ; -- Begin function GLSL_ShutdownGPUShaders
	.p2align	2
_GLSL_ShutdownGPUShaders:               ; @GLSL_ShutdownGPUShaders
	.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
Lloh0:
	adrp	x8, _ri@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
Lloh8:
	adrp	x20, _ATTR_INDEX_COUNT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ATTR_INDEX_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_qglDisableVertexAttribArray
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_2
LBB0_3:
	bl	_GL_BindNullProgram
Lloh10:
	adrp	x20, _GENERICDEF_COUNT@GOTPAGE
Lloh11:
	ldr	x20, [x20, _GENERICDEF_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh12:
	adrp	x19, _tr@GOTPAGE
Lloh13:
	ldr	x19, [x19, _tr@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #80]
	add	x0, x8, x21
	bl	_GLSL_DeleteGPUShader
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	add	x0, x19, #72
	bl	_GLSL_DeleteGPUShader
Lloh14:
	adrp	x20, _FOGDEF_COUNT@GOTPAGE
Lloh15:
	ldr	x20, [x20, _FOGDEF_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	add	x0, x8, x21
	bl	_GLSL_DeleteGPUShader
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_8
LBB0_9:
Lloh16:
	adrp	x20, _DLIGHTDEF_COUNT@GOTPAGE
Lloh17:
	ldr	x20, [x20, _DLIGHTDEF_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	add	x0, x8, x21
	bl	_GLSL_DeleteGPUShader
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_12:
Lloh18:
	adrp	x20, _LIGHTDEF_COUNT@GOTPAGE
Lloh19:
	ldr	x20, [x20, _LIGHTDEF_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x21, #0
	mov	x22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x0, x8, x21
	bl	_GLSL_DeleteGPUShader
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_14
LBB0_15:
Lloh20:
	adrp	x20, _SHADOWMAPDEF_COUNT@GOTPAGE
Lloh21:
	ldr	x20, [x20, _SHADOWMAPDEF_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x21, #0
	mov	x22, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x21
	bl	_GLSL_DeleteGPUShader
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_17
LBB0_18:
	add	x0, x19, #36
	bl	_GLSL_DeleteGPUShader
	add	x0, x19, #32
	bl	_GLSL_DeleteGPUShader
	add	x0, x19, #28
	bl	_GLSL_DeleteGPUShader
	add	x0, x19, #24
	bl	_GLSL_DeleteGPUShader
	ldr	x0, [x19, #16]
	bl	_GLSL_DeleteGPUShader
	ldr	x8, [x19, #16]
	add	x0, x8, #4
	bl	_GLSL_DeleteGPUShader
	add	x0, x19, #12
	bl	_GLSL_DeleteGPUShader
	add	x0, x19, #8
	bl	_GLSL_DeleteGPUShader
	ldr	x0, [x19]
	bl	_GLSL_DeleteGPUShader
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_GLSL_DeleteGPUShader
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_GLSL_DeleteGPUShader
	ldr	x8, [x19]
	add	x0, x8, #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
	b	_GLSL_DeleteGPUShader
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"------- GLSL_ShutdownGPUShaders -------\n"

	.comm	_ATTR_INDEX_COUNT,4,2           ; @ATTR_INDEX_COUNT
	.comm	_GENERICDEF_COUNT,4,2           ; @GENERICDEF_COUNT
	.comm	_tr,88,3                        ; @tr
	.comm	_FOGDEF_COUNT,4,2               ; @FOGDEF_COUNT
	.comm	_DLIGHTDEF_COUNT,4,2            ; @DLIGHTDEF_COUNT
	.comm	_LIGHTDEF_COUNT,4,2             ; @LIGHTDEF_COUNT
	.comm	_SHADOWMAPDEF_COUNT,4,2         ; @SHADOWMAPDEF_COUNT
.subsections_via_symbols
