	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chomp_filter
_chomp_filter:                          ## @chomp_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_ff_bsf_get_packet_ref
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	(%rbx), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rcx), %rsi
	movl	%esi, %edi
	cmpl	$0, (%rdx,%rdi,4)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%ecx
	movl	%ecx, (%rbx)
	leaq	1(%rsi), %rdi
	movq	%rsi, %rcx
	cmpq	$1, %rdi
	ja	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chomp_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chomp_filter
_chomp_filter:                          ; @chomp_filter
	.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, x1
	bl	_ff_bsf_get_packet_ref
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x9, [x19, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	ldr	w11, [x9, w10, uxtw #2]
	cbnz	w11, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w8, #1
	str	w8, [x19]
	add	x11, x10, #1
	mov	x8, x10
	cmp	x11, #1
	b.hi	LBB0_3
LBB0_5:
	mov	w0, #0
LBB0_6:
	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	_chomp_filter
.subsections_via_symbols
