	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_glsl_find_uniforms
_gl_glsl_find_uniforms:                 ## @gl_glsl_find_uniforms
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -112(%rbp)
	movl	%edx, %edi
	callq	_glUseProgram
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 104(%r12)
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_attrib
	movq	%rax, 96(%r12)
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_attrib
	movq	%rax, 88(%r12)
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_attrib
	movq	%rax, 80(%r12)
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_attrib
	movq	%rax, 72(%r12)
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 64(%r12)
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 56(%r12)
	leaq	L_.str.7(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 48(%r12)
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 40(%r12)
	leaq	L_.str.9(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gl_glsl_get_uniform
	movq	%rax, 32(%r12)
	movq	(%r13), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%r14d, %edi
	callq	_glGetUniformLocation
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movq	(%r13), %rax
	movl	(%rax), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_2
LBB0_3:
	leaq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_gl_glsl_clear_uniforms_frame
	leaq	L_.str.10(%rip), %rcx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %r15
	movq	%rbx, %rdx
	callq	_gl_glsl_find_uniforms_frame
	movq	%r13, %rbx
	leaq	20(%r12), %r13
	movq	%r13, %rdi
	callq	_gl_glsl_clear_uniforms_frame
	leaq	L_.str.11(%rip), %rcx
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_gl_glsl_find_uniforms_frame
	movq	-136(%rbp), %r13                ## 8-byte Reload
	cmpl	$2, %r13d
	movl	%r14d, -116(%rbp)               ## 4-byte Spill
	jb	LBB0_8
## %bb.4:
	leaq	L_.str.12(%rip), %rdx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-116(%rbp), %esi                ## 4-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_gl_glsl_find_uniforms_frame
	decl	%r13d
	leaq	(,%r13,4), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	$1, %ecx
	xorl	%r14d, %r14d
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movl	-116(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r14
	movq	-136(%rbp), %r13                ## 8-byte Reload
	decl	%r13d
	movl	-140(%rbp), %ecx                ## 4-byte Reload
	incl	%ecx
	cmpq	%r14, -160(%rbp)                ## 8-byte Folded Reload
	movq	-152(%rbp), %r12                ## 8-byte Reload
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	leaq	L_.str.13(%rip), %rdx
	movl	%ecx, -140(%rbp)                ## 4-byte Spill
	callq	_snprintf
	movq	8(%r12), %rdi
	addq	%r14, %rdi
	callq	_gl_glsl_clear_uniforms_frame
	movq	8(%r12), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-112(%rbp), %rcx
	callq	_gl_glsl_find_uniforms_frame
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	leaq	L_.str.12(%rip), %rdx
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movl	%r13d, %ecx
	callq	_snprintf
	movq	8(%r12), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-112(%rbp), %rcx
	callq	_gl_glsl_find_uniforms_frame
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	(%rax,%r14,2), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_gl_glsl_find_uniforms_frame
	jmp	LBB0_7
LBB0_8:
	movq	(%r12), %rdi
	callq	_gl_glsl_clear_uniforms_frame
	movq	(%r12), %rdx
	leaq	L_.str.14(%rip), %rcx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-116(%rbp), %esi                ## 4-byte Reload
	callq	_gl_glsl_find_uniforms_frame
	movq	_PREV_TEXTURES@GOTPCREL(%rip), %r15
	cmpl	$2, (%r15)
	jb	LBB0_11
## %bb.9:
	movl	$1, %ebx
	movl	$4, %r14d
	leaq	-112(%rbp), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.15(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	(%r12), %rdi
	addq	%r14, %rdi
	callq	_gl_glsl_clear_uniforms_frame
	movq	(%r12), %rdx
	addq	%r14, %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-116(%rbp), %esi                ## 4-byte Reload
	movq	%r13, %rcx
	callq	_gl_glsl_find_uniforms_frame
	incq	%rbx
	movl	(%r15), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jb	LBB0_10
LBB0_11:
	xorl	%edi, %edi
	callq	_glUseProgram
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MVPMatrix"

L_.str.1:                               ## @.str.1
	.asciz	"TexCoord"

L_.str.2:                               ## @.str.2
	.asciz	"VertexCoord"

L_.str.3:                               ## @.str.3
	.asciz	"Color"

L_.str.4:                               ## @.str.4
	.asciz	"LUTTexCoord"

L_.str.5:                               ## @.str.5
	.asciz	"InputSize"

L_.str.6:                               ## @.str.6
	.asciz	"OutputSize"

L_.str.7:                               ## @.str.7
	.asciz	"TextureSize"

L_.str.8:                               ## @.str.8
	.asciz	"FrameCount"

L_.str.9:                               ## @.str.9
	.asciz	"FrameDirection"

L_.str.10:                              ## @.str.10
	.asciz	"Orig"

L_.str.11:                              ## @.str.11
	.asciz	"Feedback"

L_.str.12:                              ## @.str.12
	.asciz	"PassPrev%u"

L_.str.13:                              ## @.str.13
	.asciz	"Pass%u"

L_.str.14:                              ## @.str.14
	.asciz	"Prev"

	.comm	_PREV_TEXTURES,4,2              ## @PREV_TEXTURES
L_.str.15:                              ## @.str.15
	.asciz	"Prev%u"

	.no_dead_strip	_gl_glsl_find_uniforms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_glsl_find_uniforms
_gl_glsl_find_uniforms:                 ; @gl_glsl_find_uniforms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	strb	wzr, [sp, #8]
	mov	x0, x2
	bl	_glUseProgram
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #104]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_attrib
	str	x0, [x19, #96]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_attrib
	str	x0, [x19, #88]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_attrib
	str	x0, [x19, #80]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_attrib
	str	x0, [x19, #72]
Lloh13:
	adrp	x2, l_.str.5@PAGE
Lloh14:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #64]
Lloh15:
	adrp	x2, l_.str.6@PAGE
Lloh16:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #56]
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #48]
Lloh19:
	adrp	x2, l_.str.8@PAGE
Lloh20:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #40]
Lloh21:
	adrp	x2, l_.str.9@PAGE
Lloh22:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_get_uniform
	str	x0, [x19, #32]
	ldr	x8, [x21]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	lsl	x24, x23, #2
	ldr	w1, [x8, x24]
	mov	x0, x20
	bl	_glGetUniformLocation
	ldr	x8, [x19, #24]
	str	w0, [x8, x24]
	add	x23, x23, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	cmp	x23, x9
	b.lo	LBB0_2
LBB0_3:
	add	x24, x19, #16
	mov	x0, x24
	bl	_gl_glsl_clear_uniforms_frame
Lloh23:
	adrp	x3, l_.str.10@PAGE
Lloh24:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	bl	_gl_glsl_find_uniforms_frame
	add	x23, x19, #20
	mov	x0, x23
	bl	_gl_glsl_clear_uniforms_frame
Lloh25:
	adrp	x3, l_.str.11@PAGE
Lloh26:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_gl_glsl_find_uniforms_frame
	cmp	w22, #2
	b.lo	LBB0_8
; %bb.4:
Lloh27:
	adrp	x23, l_.str.12@PAGE
Lloh28:
	add	x23, x23, l_.str.12@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x23
	mov	x3, x22
	bl	_snprintf
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	bl	_gl_glsl_find_uniforms_frame
	mov	x26, #0
	sub	w27, w22, #1
	mov	w24, #1
Lloh29:
	adrp	x25, l_.str.13@PAGE
Lloh30:
	add	x25, x25, l_.str.13@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #1
	add	x24, x24, #1
	cmp	x26, x27
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x25
	mov	x3, x24
	bl	_snprintf
	ldr	x8, [x19, #8]
	lsl	x28, x26, #2
	add	x0, x8, x28
	bl	_gl_glsl_clear_uniforms_frame
	ldr	x8, [x19, #8]
	add	x2, x8, x28
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_find_uniforms_frame
	sub	w3, w22, w24
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x23
	bl	_snprintf
	ldr	x8, [x19, #8]
	add	x2, x8, x28
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_find_uniforms_frame
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	x3, [x8, x26, lsl #3]
	ldrb	w8, [x3]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	add	x2, x8, x26, lsl #2
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_find_uniforms_frame
	b	LBB0_5
LBB0_8:
	ldr	x0, [x19]
	bl	_gl_glsl_clear_uniforms_frame
	ldr	x2, [x19]
Lloh31:
	adrp	x3, l_.str.14@PAGE
Lloh32:
	add	x3, x3, l_.str.14@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_find_uniforms_frame
Lloh33:
	adrp	x24, _PREV_TEXTURES@GOTPAGE
Lloh34:
	ldr	x24, [x24, _PREV_TEXTURES@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #2
	b.lo	LBB0_11
; %bb.9:
	mov	w22, #1
	mov	w25, #4
Lloh35:
	adrp	x23, l_.str.15@PAGE
Lloh36:
	add	x23, x23, l_.str.15@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x23
	mov	x3, x22
	bl	_snprintf
	ldr	x8, [x19]
	add	x0, x8, x25
	bl	_gl_glsl_clear_uniforms_frame
	ldr	x8, [x19]
	add	x2, x8, x25
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_gl_glsl_find_uniforms_frame
	add	x22, x22, #1
	ldr	w8, [x24]
	add	x25, x25, #4
	cmp	x22, x8
	b.lo	LBB0_10
LBB0_11:
	mov	w0, #0
	bl	_glUseProgram
	ldr	x8, [sp, #72]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MVPMatrix"

l_.str.1:                               ; @.str.1
	.asciz	"TexCoord"

l_.str.2:                               ; @.str.2
	.asciz	"VertexCoord"

l_.str.3:                               ; @.str.3
	.asciz	"Color"

l_.str.4:                               ; @.str.4
	.asciz	"LUTTexCoord"

l_.str.5:                               ; @.str.5
	.asciz	"InputSize"

l_.str.6:                               ; @.str.6
	.asciz	"OutputSize"

l_.str.7:                               ; @.str.7
	.asciz	"TextureSize"

l_.str.8:                               ; @.str.8
	.asciz	"FrameCount"

l_.str.9:                               ; @.str.9
	.asciz	"FrameDirection"

l_.str.10:                              ; @.str.10
	.asciz	"Orig"

l_.str.11:                              ; @.str.11
	.asciz	"Feedback"

l_.str.12:                              ; @.str.12
	.asciz	"PassPrev%u"

l_.str.13:                              ; @.str.13
	.asciz	"Pass%u"

l_.str.14:                              ; @.str.14
	.asciz	"Prev"

	.comm	_PREV_TEXTURES,4,2              ; @PREV_TEXTURES
l_.str.15:                              ; @.str.15
	.asciz	"Prev%u"

	.no_dead_strip	_gl_glsl_find_uniforms
.subsections_via_symbols
