	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function filter_simple_text
LCPI0_0:
	.space	16,32
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_simple_text:                    ## @filter_simple_text
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	testl	%edx, %edx
	jle	LBB0_14
## %bb.1:
	movslq	%edx, %r11
	addq	%rax, %r11
	leaq	1(%rax), %r10
	cmpq	%r10, %r11
	cmovaq	%r11, %r10
	subq	%rax, %r10
	cmpq	$32, %r10
	jb	LBB0_11
## %bb.2:
	movq	%rax, %rdx
	subq	%rsi, %rdx
	cmpq	$32, %rdx
	jb	LBB0_11
## %bb.3:
	movq	%r10, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rdx
	movq	%rdx, %r9
	shrq	$5, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.4:
	movq	%r9, %rdx
	andq	$-2, %rdx
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rdi), %xmm1
	movdqu	16(%rsi,%rdi), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, (%rax,%rdi)
	movdqu	%xmm2, 16(%rax,%rdi)
	movdqu	32(%rsi,%rdi), %xmm1
	movdqu	48(%rsi,%rdi), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, 32(%rax,%rdi)
	movdqu	%xmm2, 48(%rax,%rdi)
	addq	$64, %rdi
	addq	$-2, %rdx
	jne	LBB0_5
## %bb.6:
	testb	$1, %r9b
	je	LBB0_8
LBB0_7:
	movdqu	(%rsi,%rdi), %xmm0
	movdqu	16(%rsi,%rdi), %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	pmaxub	%xmm2, %xmm0
	pmaxub	%xmm2, %xmm1
	movdqu	%xmm0, (%rax,%rdi)
	movdqu	%xmm1, 16(%rax,%rdi)
LBB0_8:
	leaq	(%rax,%r8), %rdi
	cmpq	%r8, %r10
	je	LBB0_14
## %bb.9:
	addq	%r8, %rsi
	jmp	LBB0_12
LBB0_11:
	movq	%rax, %rdi
LBB0_12:
	movl	$32, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ecx
	cmpb	$33, %cl
	cmovbl	%edx, %ecx
	movb	%cl, (%rdi)
	incq	%rsi
	incq	%rdi
	cmpq	%r11, %rdi
	jb	LBB0_13
LBB0_14:
	movb	$0, (%rdi)
	popq	%rbp
	retq
LBB0_15:
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_simple_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_simple_text
_filter_simple_text:                    ; @filter_simple_text
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x9, x0
	cmp	w2, #1
	b.lt	LBB0_9
; %bb.1:
	sxtw	x8, w2
	add	x9, x0, #1
	add	x8, x0, x8
	cmp	x8, x9
	csinc	x9, x8, x0, hi
	sub	x11, x9, x0
	cmp	x11, #64
	b.lo	LBB0_6
; %bb.2:
	sub	x9, x0, x1
	cmp	x9, #64
	b.lo	LBB0_6
; %bb.3:
	and	x12, x11, #0xffffffffffffffc0
	add	x10, x1, x12
	add	x9, x0, x12
	add	x13, x1, #32
	add	x14, x0, #32
	movi.16b	v0, #32
	mov	x15, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x13, #-32]
	ldp	q3, q4, [x13], #64
	umax.16b	v1, v1, v0
	umax.16b	v2, v2, v0
	umax.16b	v3, v3, v0
	umax.16b	v4, v4, v0
	stp	q1, q2, [x14, #-32]
	stp	q3, q4, [x14], #64
	subs	x15, x15, #64
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x12
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x10, x1
	mov	x9, x0
LBB0_7:
	mov	w11, #32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10], #1
	cmp	w12, #32
	csel	w12, w12, w11, hi
	strb	w12, [x9], #1
	cmp	x9, x8
	b.lo	LBB0_8
LBB0_9:
	strb	wzr, [x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_simple_text
.subsections_via_symbols
