	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_truncate                ## -- Begin function filter_truncate
	.p2align	4, 0x90
_filter_truncate:                       ## @filter_truncate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rcx
	incl	%eax
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%esi, %eax
	jl	LBB0_1
LBB0_3:
	movq	$0, (%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_truncate                ; -- Begin function filter_truncate
	.p2align	2
_filter_truncate:                       ; @filter_truncate
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w0, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	add	w0, w0, #1
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w0, w1, #0, ne
	b.lt	LBB0_2
; %bb.3:
	str	xzr, [x9]
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
