	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GLSL_ShowProgramUniforms
_GLSL_ShowProgramUniforms:              ## @GLSL_ShowProgramUniforms
	.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
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GL_ACTIVE_UNIFORMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1060(%rbp), %rdx
	callq	_qglGetProgramiv
	cmpl	$0, -1060(%rbp)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-1056(%rbp), %r15
	movq	_PRINT_DEVELOPER@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, (%rsp)
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	xorl	%ecx, %ecx
	leaq	-1068(%rbp), %r8
	leaq	-1064(%rbp), %r9
	callq	_qglGetActiveUniform
	movl	(%r13), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	_ri@GOTPCREL(%rip), %rax
	callq	*(%rax)
	incl	%ebx
	cmpl	-1060(%rbp), %ebx
	jl	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_ACTIVE_UNIFORMS,4,2         ## @GL_ACTIVE_UNIFORMS
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_DEVELOPER,4,2            ## @PRINT_DEVELOPER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active uniform: '%s'\n"

	.no_dead_strip	_GLSL_ShowProgramUniforms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLSL_ShowProgramUniforms
_GLSL_ShowProgramUniforms:              ; @GLSL_ShowProgramUniforms
	.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
	sub	sp, sp, #1024
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _GL_ACTIVE_UNIFORMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_ACTIVE_UNIFORMS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_qglGetProgramiv
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh6:
	adrp	x22, _ri@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ri@GOTPAGEOFF]
Lloh8:
	adrp	x23, _PRINT_DEVELOPER@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PRINT_DEVELOPER@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x4, sp, #8
	add	x5, sp, #4
	add	x6, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1000
	mov	x3, #0
	bl	_qglGetActiveUniform
	ldr	x8, [x22]
	ldr	w0, [x23]
	add	x2, sp, #16
	mov	x1, x21
	blr	x8
	add	w20, w20, #1
	ldr	w8, [sp, #12]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	add	sp, sp, #1024
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_ACTIVE_UNIFORMS,4,2         ; @GL_ACTIVE_UNIFORMS
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_DEVELOPER,4,2            ; @PRINT_DEVELOPER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active uniform: '%s'\n"

	.no_dead_strip	_GLSL_ShowProgramUniforms
.subsections_via_symbols
