	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clamp_align
_clamp_align:                           ## @clamp_align
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %r9d
	movl	$-1, %r8d
	shll	%cl, %r8d
	leal	-1(%r9), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	%edi, %eax
	andl	%r8d, %eax
	cmpl	$1, %r9d
	cmovbl	%edi, %eax
	cmpl	%esi, %eax
	jae	LBB0_2
## %bb.1:
	movl	%r8d, %eax
	notl	%eax
	addl	%esi, %eax
	andl	%r8d, %eax
	popq	%rbp
	retq
LBB0_2:
	andl	%edx, %r8d
	cmpl	%edx, %eax
	cmovbel	%eax, %r8d
	movl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clamp_align
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clamp_align
_clamp_align:                           ; @clamp_align
	.cfi_startproc
; %bb.0:
	mov	w8, #-1
	lsl	w8, w8, w3
	sub	w9, w3, #1
	mov	w10, #1
	lsl	w9, w10, w9
	add	w9, w9, w0
	and	w9, w9, w8
	cmp	w3, #0
	csel	w9, w0, w9, eq
	and	w10, w8, w2
	cmp	w9, w2
	csel	w10, w10, w9, hi
	mvn	w11, w8
	add	w11, w11, w1
	and	w8, w11, w8
	cmp	w9, w1
	csel	w0, w10, w8, hs
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clamp_align
.subsections_via_symbols
