	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CLAMP
_CLAMP:                                 ## @CLAMP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_MP_USED
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_MP_DIGITS
	cmpl	$2, %ebx
	jl	LBB0_5
## %bb.1:
	movl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -4(%rax,%rbx,4)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rbx
	leal	1(%rbx), %ecx
	cmpl	$2, %ecx
	jg	LBB0_2
## %bb.4:
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CLAMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CLAMP
_CLAMP:                                 ; @CLAMP
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_MP_USED
	mov	x20, x0
	mov	x0, x19
	bl	_MP_DIGITS
	cmp	w20, #2
	b.lt	LBB0_5
; %bb.1:
	mov	w20, w20
	sub	x8, x0, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, x20, lsl #2]
	cbnz	w9, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x20, x20, #1
	add	w9, w20, #1
	cmp	w9, #2
	b.gt	LBB0_2
; %bb.4:
	mov	w20, #1
LBB0_5:
	str	w20, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_CLAMP
.subsections_via_symbols
