	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_filtered_combing_mask
_check_filtered_combing_mask:           ## @check_filtered_combing_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	4(%rdi), %rax
	movslq	8(%rdi), %r8
	movq	32(%rdi), %rbx
	movq	(%rbx), %r9
	movslq	(%r9), %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movslq	4(%r9), %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	$-1, 12(%rdi)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	$0, 40(%rdi)
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	subl	%r8d, %ecx
	cmpl	%edx, %ecx
	jl	LBB0_26
## %bb.1:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r8d, %r9d
	subq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %ebx
	shrl	$31, %ebx
	addl	%edi, %ebx
	sarl	%ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movslq	%edx, %rdx
	movslq	%ecx, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leal	-1(%rax), %ebx
	leaq	1(%rbx), %r11
	movq	%r11, -168(%rbp)                ## 8-byte Spill
	andq	$-4, %r11
	leaq	-4(%r11), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	%rcx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movq	%rsi, %rcx
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	imulq	%rdx, %rsi
	addq	$6, %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	imulq	%rcx, %r8
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,8), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, -88(%rbp)                 ## 8-byte Folded Spill
	cmpq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	jg	LBB0_26
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
                                        ##         Child Loop BB0_18 Depth 4
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_25
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=2
	addq	%rax, %r15
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	addq	%rax, %rsi
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	jge	LBB0_25
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
                                        ##         Child Loop BB0_18 Depth 4
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %r10
	leaq	(%r10,%rsi,8), %rdi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=3
	incq	%r12
	addq	%r14, %rdi
	cmpq	%r9, %r12
	je	LBB0_20
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_12 Depth 4
                                        ##         Child Loop BB0_18 Depth 4
	testl	%eax, %eax
	jle	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	leaq	(%r12,%rdx), %rcx
	imulq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	%r15, %rcx
	xorl	%esi, %esi
	leaq	(%r10,%rcx,8), %r8
	cmpl	$3, %ebx
	jb	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=3
	movd	%r13d, %xmm0
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=3
	pxor	%xmm1, %xmm1
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movdqu	-48(%rdi,%rcx,8), %xmm2
	movdqu	-32(%rdi,%rcx,8), %xmm3
	movdqu	-16(%rdi,%rcx,8), %xmm4
	movdqu	(%rdi,%rcx,8), %xmm5
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm0, %xmm2
	pshufd	$232, %xmm3, %xmm3              ## xmm3 = xmm3[0,2,2,3]
	paddd	%xmm1, %xmm3
	pshufd	$232, %xmm4, %xmm0              ## xmm0 = xmm4[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm5, %xmm1              ## xmm1 = xmm5[0,2,2,3]
	paddd	%xmm3, %xmm1
	addq	$8, %rcx
	addq	$-2, %rsi
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=3
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=3
	movdqu	(%r8,%rcx,8), %xmm2
	movdqu	16(%r8,%rcx,8), %xmm3
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=3
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %r13d
	cmpq	%r11, -168(%rbp)                ## 8-byte Folded Reload
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=3
	leaq	(%r8,%r11,8), %r8
	movl	%r11d, %esi
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=3
	movl	%eax, %ecx
	subl	%esi, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	addl	(%r8,%rsi,8), %r13d
	incq	%rsi
	cmpl	%esi, %ecx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=3
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	xorl	%r13d, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 20(%rcx)
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	jl	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, 12(%rcx)
	movl	%edx, 16(%rcx)
	movq	24(%rcx), %rcx
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%r13d, (%rcx,%rsi,4)
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jle	LBB0_24
## %bb.23:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 20(%rax)
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_filtered_combing_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_filtered_combing_mask
_check_filtered_combing_mask:           ; @check_filtered_combing_mask
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	.cfi_offset w25, -56
	.cfi_offset w26, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldp	w8, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldrsw	x10, [x0, #8]
	ldr	x11, [x0, #32]
	ldr	x11, [x11]
	ldpsw	x12, x14, [x11]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x0, #12]
	str	xzr, [x0, #40]
	sub	w3, w3, w10
	cmp	w3, w2
	b.lt	LBB0_22
; %bb.1:
	and	x13, x10, #0xffffffff
	sub	x14, x14, x9
	cmp	w8, #0
	cinc	w15, w8, lt
	asr	w15, w15, #1
	sxtw	x16, w1
	sxtw	x17, w2
	sxtw	x1, w3
	sub	w2, w9, #1
	add	x3, x2, #1
	and	x4, x3, #0x1fffffff8
	orr	x5, xzr, #0x4
	madd	x5, x12, x17, x5
	mul	x6, x10, x12
	lsl	x7, x12, #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x5, x5, x6
	add	x17, x17, x10
	cmp	x17, x1
	b.gt	LBB0_22
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	cmp	w14, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
	mov	x20, x5
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x20, x20, x9
	add	x19, x19, x9
	cmp	x19, x14
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	cmp	w10, #1
	b.lt	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x21, #0
	mov	w24, #0
	ldr	x22, [x11, #8]
	add	x23, x22, x20, lsl #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	add	x21, x21, #1
	add	x23, x23, x7
	cmp	x21, x13
	b.eq	LBB0_18
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	add	x25, x21, x17
	mul	x25, x25, x12
	add	x25, x25, x19
	add	x25, x22, x25, lsl #3
	cmp	w2, #7
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	w26, #0
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=3
	movi	d0, #0000000000000000
	mov.s	v0[0], w24
	add	x25, x25, x4, lsl #3
	movi.2d	v1, #0000000000000000
	mov	x24, x23
	mov	x26, x4
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldp	q4, q5, [x24, #-32]
	ldp	q6, q7, [x24], #64
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	subs	x26, x26, #8
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=3
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w24, s0
	mov	x26, x4
	cmp	x3, x4
	b.eq	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=3
	sub	w26, w9, w26
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	w27, [x25], #8
	add	w24, w24, w27
	subs	w26, w26, #1
	b.ne	LBB0_16
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w24, #0
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w21, [x0, #20]
	cbnz	w21, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	w24, w15
	b.lt	LBB0_5
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=2
	stp	w19, w17, [x0, #12]
	ldr	x21, [x0, #24]
	str	w24, [x21, x16, lsl #2]
	cmp	w24, w8
	b.le	LBB0_5
; %bb.21:
	mov	w8, #1
	str	w8, [x0, #20]
LBB0_22:
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_filtered_combing_mask
.subsections_via_symbols
