	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clamp_sample
_clamp_sample:                          ## @clamp_sample
	.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), %ecx
	movl	$-32768, %eax                   ## imm = 0x8000
	cmpl	$-32768, %ecx                   ## imm = 0x8000
	jl	LBB0_2
## %bb.1:
	movl	$32767, %eax                    ## imm = 0x7FFF
	cmpl	$32768, %ecx                    ## imm = 0x8000
	jl	LBB0_3
LBB0_2:
	movl	%eax, (%rdi)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clamp_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clamp_sample
_clamp_sample:                          ; @clamp_sample
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmn	w8, #8, lsl #12                 ; =32768
	b.ge	LBB0_2
; %bb.1:
	mov	w8, #-32768
	b	LBB0_4
LBB0_2:
	cmp	w8, #8, lsl #12                 ; =32768
	b.lt	LBB0_5
; %bb.3:
	mov	w8, #32767
LBB0_4:
	str	w8, [x0]
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clamp_sample
.subsections_via_symbols
