	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_cg_set_uniform_parameter
_gl_cg_set_uniform_parameter:           ## @gl_cg_set_uniform_parameter
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$0, 64(%rsi)
	je	LBB0_17
## %bb.2:
	cmpq	$0, 56(%rbx)
	je	LBB0_7
## %bb.3:
	movb	$0, -96(%rbp)
	cmpl	$137, 24(%rbx)
	movq	(%rdi), %rax
	movq	32(%rbx), %rcx
	leaq	4(%rax,%rcx,8), %rdx
	leaq	(%rax,%rcx,8), %rax
	cmoveq	%rdx, %rax
	movl	(%rax), %r14d
	cmpq	$0, 48(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	-96(%rbp), %r15
	movq	40(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	$64, %esi
	callq	_snprintf
	cmpq	$0, 48(%rbx)
	jne	LBB0_6
LBB0_5:
	movq	40(%rbx), %r15
LBB0_6:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_cgGetNamedParameter
	movl	%eax, %edi
	jmp	LBB0_8
LBB0_7:
	movl	(%rdx), %edi
LBB0_8:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_17
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movl	4(%rbx), %esi
	callq	_cgGLSetParameter3fv
	jmp	LBB0_17
LBB0_13:
	movl	20(%rbx), %esi
	movl	16(%rbx), %edx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	callq	_cgGLSetParameter4f
	jmp	LBB0_17
LBB0_12:
	movl	20(%rbx), %esi
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	callq	_cgGLSetParameter3f
	jmp	LBB0_17
LBB0_15:
	movl	4(%rbx), %esi
	callq	_cgGLSetParameter2fv
	jmp	LBB0_17
LBB0_11:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	callq	_cgGLSetParameter2f
	jmp	LBB0_17
LBB0_14:
	movl	4(%rbx), %esi
	callq	_cgGLSetParameter1fv
	jmp	LBB0_17
LBB0_10:
	movl	20(%rbx), %esi
	callq	_cgGLSetParameter1f
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IN.%s"

	.no_dead_strip	_gl_cg_set_uniform_parameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_cg_set_uniform_parameter
_gl_cg_set_uniform_parameter:           ; @gl_cg_set_uniform_parameter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x1, LBB0_17
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #64]
	cbz	w8, LBB0_17
; %bb.2:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_7
; %bb.3:
	strb	wzr, [sp, #8]
	ldr	w8, [x19, #24]
	ldr	x9, [x0]
	ldr	x10, [x19, #32]
	add	x9, x9, x10, lsl #3
	add	x10, x9, #4
	cmp	w8, #137
	csel	x8, x10, x9, eq
	ldr	w20, [x8]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	add	x21, sp, #8
	ldr	x3, [x19, #40]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_snprintf
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_6
LBB0_5:
	ldr	x21, [x19, #40]
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_cgGetNamedParameter
	b	LBB0_8
LBB0_7:
	ldr	w0, [x2]
LBB0_8:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_17
; %bb.9:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	ldr	w1, [x19, #4]
	bl	_cgGLSetParameter3fv
	b	LBB0_17
LBB0_11:
	ldp	w2, w1, [x19, #16]
	ldp	w4, w3, [x19, #8]
	bl	_cgGLSetParameter4f
	b	LBB0_17
LBB0_12:
	ldp	w2, w1, [x19, #16]
	ldr	w3, [x19, #12]
	bl	_cgGLSetParameter3f
	b	LBB0_17
LBB0_13:
	ldr	w1, [x19, #4]
	bl	_cgGLSetParameter2fv
	b	LBB0_17
LBB0_14:
	ldp	w2, w1, [x19, #16]
	bl	_cgGLSetParameter2f
	b	LBB0_17
LBB0_15:
	ldr	w1, [x19, #4]
	bl	_cgGLSetParameter1fv
	b	LBB0_17
LBB0_16:
	ldr	w1, [x19, #20]
	bl	_cgGLSetParameter1f
LBB0_17:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_17-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IN.%s"

	.no_dead_strip	_gl_cg_set_uniform_parameter
.subsections_via_symbols
