	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_clamp
_mp_clamp:                              ## @mp_clamp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	8(%rdi), %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	movl	%edx, %esi
	cmpq	$0, (%rcx,%rsi,8)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	%eax, (%rdi)
	leaq	1(%rdx), %rsi
	movq	%rdx, %rax
	cmpq	$1, %rsi
	ja	LBB0_2
	jmp	LBB0_5
LBB0_4:
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_5:
	movq	_MP_ZPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_ZPOS,4,2                    ## @MP_ZPOS
	.no_dead_strip	_mp_clamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_clamp
_mp_clamp:                              ; @mp_clamp
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	ldr	x11, [x9, w10, uxtw #3]
	cbnz	x11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
	str	w8, [x0]
	add	x11, x10, #1
	mov	x8, x10
	cmp	x11, #1
	b.hi	LBB0_2
	b	LBB0_6
LBB0_4:
	cbz	w8, LBB0_6
LBB0_5:
	ret
LBB0_6:
Lloh0:
	adrp	x8, _MP_ZPOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_ZPOS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_ZPOS,4,2                    ; @MP_ZPOS
	.no_dead_strip	_mp_clamp
.subsections_via_symbols
