	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_SetUniformMat4            ## -- Begin function GLSL_SetUniformMat4
	.p2align	4, 0x90
_GLSL_SetUniformMat4:                   ## @GLSL_SetUniformMat4
	.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), %r12
	movslq	%esi, %rbx
	cmpl	$-1, (%r12,%rbx,4)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	movq	_uniformsInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_GLSL_MAT16@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movl	%edx, %r14d
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %r15
	addq	24(%r13), %r15
	movl	%edx, %edi
	movq	%r15, %rsi
	callq	_Mat4Compare
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%esi, %edx
	movq	_ri@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	12(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_Mat4Copy
	movl	8(%r13), %edi
	movl	(%r12,%rbx,4), %esi
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	%r14d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qglProgramUniformMatrix4fvEXT  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uniformsInfo,8,3               ## @uniformsInfo
	.comm	_GLSL_MAT16,8,3                 ## @GLSL_MAT16
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLSL_SetUniformMat4: wrong type for uniform %i in program %s\n"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_SetUniformMat4            ; -- Begin function GLSL_SetUniformMat4
	.p2align	2
_GLSL_SetUniformMat4:                   ; @GLSL_SetUniformMat4
	.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
	ldr	x22, [x0]
	ldr	w8, [x22, w1, sxtw #2]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x2, x1
	mov	x20, x0
	sxtw	x23, w2
Lloh0:
	adrp	x8, _uniformsInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uniformsInfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x23, lsl #3]
Lloh3:
	adrp	x9, _GLSL_MAT16@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLSL_MAT16@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldp	x9, x8, [x20, #16]
	ldr	x9, [x9, w2, sxtw #3]
	add	x21, x9, x8
	mov	x0, x19
	mov	x1, x21
	bl	_Mat4Compare
	cbz	x0, LBB0_5
LBB0_3:
	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_4:
Lloh6:
	adrp	x8, _ri@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh8:
	ldr	x4, [x8]
Lloh9:
	adrp	x8, _PRINT_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PRINT_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w3, [x20, #12]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	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
	br	x4
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_Mat4Copy
	ldr	w0, [x20, #8]
	ldr	w1, [x22, x23, lsl #2]
Lloh14:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	w2, #1
	mov	x4, x19
	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
	b	_qglProgramUniformMatrix4fvEXT
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_uniformsInfo,8,3               ; @uniformsInfo
	.comm	_GLSL_MAT16,8,3                 ; @GLSL_MAT16
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLSL_SetUniformMat4: wrong type for uniform %i in program %s\n"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
.subsections_via_symbols
