	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_SetUniformInt             ## -- Begin function GLSL_SetUniformInt
	.p2align	4, 0x90
_GLSL_SetUniformInt:                    ## @GLSL_SetUniformInt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	(%rdi), %r9
	movslq	%esi, %rsi
	cmpl	$-1, (%r9,%rsi,4)
	je	LBB0_3
## %bb.1:
	movq	_uniformsInfo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rsi,8), %r8
	movq	_GLSL_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	jne	LBB0_4
## %bb.2:
	movq	16(%rdi), %rax
	movq	24(%rdi), %r8
	movq	(%rax,%rsi,8), %rax
	cmpl	%edx, (%r8,%rax)
	jne	LBB0_5
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	movq	_ri@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	12(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%edx, %edi
	movl	%eax, %edx
	popq	%rbp
	jmpq	*%r8                            ## TAILCALL
LBB0_5:
	movl	%edx, (%r8,%rax)
	movl	8(%rdi), %edi
	movl	(%r9,%rsi,4), %esi
	popq	%rbp
	jmp	_qglProgramUniform1iEXT         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uniformsInfo,8,3               ## @uniformsInfo
	.comm	_GLSL_INT,8,3                   ## @GLSL_INT
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLSL_SetUniformInt: wrong type for uniform %i in program %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_SetUniformInt             ; -- Begin function GLSL_SetUniformInt
	.p2align	2
_GLSL_SetUniformInt:                    ; @GLSL_SetUniformInt
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w10, [x9, w1, sxtw #2]
	cmn	w10, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x8, x1
	sxtw	x10, w8
Lloh0:
	adrp	x11, _uniformsInfo@GOTPAGE
Lloh1:
	ldr	x11, [x11, _uniformsInfo@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	ldr	x11, [x11, x10, lsl #3]
Lloh3:
	adrp	x12, _GLSL_INT@GOTPAGE
Lloh4:
	ldr	x12, [x12, _GLSL_INT@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_4
; %bb.2:
	ldp	x12, x11, [x0, #16]
	ldr	x8, [x12, w8, sxtw #3]
	ldr	w12, [x11, x8]
	cmp	w12, w2
	b.ne	LBB0_5
LBB0_3:
	ret
LBB0_4:
Lloh6:
	adrp	x9, _ri@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ri@GOTPAGEOFF]
Lloh8:
	ldr	x4, [x9]
Lloh9:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w3, [x0, #12]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x9
	mov	x2, x8
	br	x4
LBB0_5:
	str	w2, [x11, x8]
	ldr	w0, [x0, #8]
	ldr	w1, [x9, x10, lsl #2]
	b	_qglProgramUniform1iEXT
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_uniformsInfo,8,3               ; @uniformsInfo
	.comm	_GLSL_INT,8,3                   ; @GLSL_INT
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLSL_SetUniformInt: wrong type for uniform %i in program %s\n"

.subsections_via_symbols
