	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mask_filter_thread
_mask_filter_thread:                    ## @mask_filter_thread
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%ebx, %edx
	callq	_hb_deep_log
	leaq	8(%r14), %r13
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_taskset_thread_wait4start
	movq	%r13, %rdi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_taskset_thread_stop
	testq	%rax, %rax
	je	LBB0_1
LBB0_14:
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_taskset_thread_complete        ## TAILCALL
LBB0_1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_taskset_thread_complete
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_taskset_thread_wait4start
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_taskset_thread_stop
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movq	(%r14), %rax
	movq	32(%r14), %rcx
	movq	(%rcx), %r15
	movl	4(%r15), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rdi
	movl	(%rcx), %r11d
	movl	(%rdi), %ebx
	addl	%r11d, %ebx
	leal	1(%r11), %ecx
	movl	%r11d, %edi
	subl	$1, %edi
	movl	$0, %edx
	cmovbl	%edx, %edi
	movl	$1, %edx
	cmovbl	%edx, %r11d
	movl	$2, %edx
	cmovbl	%edx, %ecx
	cmpl	%esi, %ebx
	leal	-1(%rsi), %r8d
	cmovnel	%ebx, %r8d
	movq	_FILTER_CLASSIC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rbx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r14
	cmpl	%r8d, %r11d
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%r15), %r10
	imull	%r10d, %edi
	movl	%r11d, %ebx
	imull	%r10d, %ebx
	imull	%r10d, %ecx
	movl	(%r15), %r9d
	movq	16(%r15), %r15
	movslq	%edi, %rdx
	leaq	(%r15,%rdx,4), %rdx
	addq	$4, %rdx
	movslq	%ebx, %rbx
	leaq	(%r15,%rbx,4), %rdi
	addq	$4, %rdi
	incq	%rbx
	movslq	%ecx, %rcx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	leaq	(%r15,%rcx,4), %rcx
	addq	$4, %rcx
	leal	-1(%r9), %r14d
	shlq	$2, %r10
	leaq	-4(,%r14,4), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	incl	%r11d
	addq	%r10, %rbx
	addq	%r10, %rdi
	addq	%r10, %rcx
	addq	%r10, %rdx
	cmpl	%r8d, %r11d
	je	LBB0_13
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	cmpl	$3, %r9d
	jl	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	%r15d, 4(%rbx,%r12)
	addq	$4, %r12
	cmpq	%r12, %r14
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%rdi,%r12), %r15d
	andl	(%rdi,%r12), %r15d
	andl	8(%rdi,%r12), %r15d
	cmpq	%rsi, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	andl	4(%rdx,%r12), %r15d
	andl	4(%rcx,%r12), %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mask filter thread started for segment %d"

	.comm	_FILTER_CLASSIC,8,3             ## @FILTER_CLASSIC
	.no_dead_strip	_mask_filter_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mask_filter_thread
_mask_filter_thread:                    ; @mask_filter_thread
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x22, [x0, #24]
	ldr	w19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x2, x19
	bl	_hb_deep_log
	add	x21, x22, #8
	mov	x0, x21
	mov	x1, x19
	bl	_taskset_thread_wait4start
	mov	x0, x21
	mov	x1, x19
	bl	_taskset_thread_stop
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_taskset_thread_complete
LBB0_2:
	mov	w23, #2
	orr	w24, wzr, #0x1
Lloh2:
	adrp	x25, _FILTER_CLASSIC@GOTPAGE
Lloh3:
	ldr	x25, [x25, _FILTER_CLASSIC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_taskset_thread_complete
	mov	x0, x21
	mov	x1, x19
	bl	_taskset_thread_wait4start
	mov	x0, x21
	mov	x1, x19
	bl	_taskset_thread_stop
	cbnz	x0, LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
	ldr	x8, [x22, #32]
	ldr	x13, [x8]
	ldr	w9, [x13, #4]
	ldp	x8, x10, [x20, #8]
	ldr	w11, [x8]
	ldr	w10, [x10]
	sub	w8, w11, #1
	cmp	w11, #0
	csel	w14, wzr, w8, eq
	csinc	w8, w11, wzr, ne
	csinc	w15, w23, w11, eq
	sub	w12, w9, #1
	add	w10, w10, w11
	cmp	w10, w9
	csel	w9, w12, w10, eq
	ldr	x10, [x22]
	ldr	x11, [x25]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x22, #24]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x22, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x12]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x13]
	ldrsw	x17, [x13, #8]
	ldr	x0, [x13, #16]
	madd	w13, w14, w17, w24
	add	x13, x0, w13, sxtw #2
	madd	w14, w8, w17, w24
	sxtw	x1, w14
	add	x14, x0, w14, sxtw #2
	madd	w15, w15, w17, w24
	add	x15, x0, w15, sxtw #2
	ldr	x16, [x16]
	add	x16, x16, x1, lsl #2
	sub	w0, w12, #1
	lsl	x17, x17, #2
	lsl	x0, x0, #2
	sub	x0, x0, #4
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w8, w8, #1
	add	x16, x16, x17
	add	x15, x15, x17
	add	x13, x13, x17
	add	x14, x14, x17
	cmp	w8, w9
	b.eq	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	cmp	w12, #3
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x1, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=3
	add	x3, x16, x1
	str	w2, [x3, #4]
	add	x1, x1, #4
	cmp	x0, x1
	b.eq	LBB0_9
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x2, x14, x1
	ldp	w3, w4, [x2]
	and	w3, w4, w3
	ldr	w2, [x2, #8]
	and	w2, w3, w2
	cmp	x10, x11
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	add	x3, x13, x1
	ldr	w3, [x3, #4]
	add	x4, x15, x1
	ldr	w4, [x4, #4]
	and	w2, w2, w3
	and	w2, w2, w4
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mask filter thread started for segment %d"

	.comm	_FILTER_CLASSIC,8,3             ; @FILTER_CLASSIC
	.no_dead_strip	_mask_filter_thread
.subsections_via_symbols
