	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function apply_clamped_constant
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_apply_clamped_constant:                ## @apply_clamped_constant
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	cmpl	$-1, %esi
	je	LBB0_14
## %bb.1:
	movss	(%rdx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movaps	%xmm0, %xmm2
	ja	LBB0_4
## %bb.2:
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	ja	LBB0_4
## %bb.3:
	movaps	%xmm1, %xmm2
LBB0_4:
	movss	%xmm2, -32(%rbp)
	movss	4(%rdx), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movaps	%xmm0, %xmm2
	ja	LBB0_7
## %bb.5:
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	ja	LBB0_7
## %bb.6:
	movaps	%xmm1, %xmm2
LBB0_7:
	movss	%xmm2, -28(%rbp)
	movss	8(%rdx), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movaps	%xmm0, %xmm2
	ja	LBB0_10
## %bb.8:
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	ja	LBB0_10
## %bb.9:
	movaps	%xmm1, %xmm2
LBB0_10:
	movss	%xmm2, -24(%rbp)
	movss	12(%rdx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_13
## %bb.11:
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_13
## %bb.12:
	movaps	%xmm1, %xmm0
LBB0_13:
	movss	%xmm0, -20(%rbp)
	leaq	-32(%rbp), %rdx
	movl	%esi, %edi
	movl	$1, %esi
	callq	_glUniform4fv
	movl	%eax, %edi
	callq	_GL_EXTCALL
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_clamped_constant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_clamped_constant
_apply_clamped_constant:                ; @apply_clamped_constant
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	cmn	w1, #1
	b.eq	LBB0_2
; %bb.1:
	fmov	s0, #-1.00000000
	fmov	s1, #1.00000000
	ldp	s2, s3, [x2]
	fcmp	s2, s1
	fcsel	s4, s1, s2, gt
	fcmp	s2, s0
	fcsel	s2, s0, s4, mi
	fcmp	s3, s1
	fcsel	s4, s1, s3, gt
	fcmp	s3, s0
	fcsel	s3, s0, s4, mi
	stp	s2, s3, [sp, #8]
	ldp	s2, s3, [x2, #8]
	fcmp	s2, s1
	fcsel	s4, s1, s2, gt
	fcmp	s2, s0
	fcsel	s2, s0, s4, mi
	fcmp	s3, s1
	fcsel	s1, s1, s3, gt
	fcmp	s3, s0
	fcsel	s0, s0, s1, mi
	stp	s2, s0, [sp, #16]
	add	x2, sp, #8
	mov	x0, x1
	mov	w1, #1
	bl	_glUniform4fv
	bl	_GL_EXTCALL
LBB0_2:
	ldur	x8, [x29, #-8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_clamped_constant
.subsections_via_symbols
