	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SplitBrushList
LCPI0_0:
	.long	4294967294                      ## 0xfffffffe
	.long	4294967294                      ## 0xfffffffe
	.long	4294967294                      ## 0xfffffffe
	.long	4294967294                      ## 0xfffffffe
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SplitBrushList
	.p2align	4, 0x90
_SplitBrushList:                        ## @SplitBrushList
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movq	$0, (%rdx)
	testq	%rdi, %rdi
	je	LBB0_47
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	_TEXINFO_NODE@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_PSIDE_FRONT@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%r12)
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14), %r14
	testq	%r14, %r14
	je	LBB0_47
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
	movl	(%r14), %r15d
	movq	_PSIDE_BOTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	callq	_SplitBrush
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%r12)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_CopyBrush
	movq	%rax, -56(%rbp)
	movq	_PSIDE_FACING@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rax), %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	cmpl	$9, %r8d
	jb	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%r13), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rdx,%r8,8), %rcx
	cmpq	%r13, %rcx
	jbe	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r9d, %r9d
	jmp	LBB0_37
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_PSIDE_BACK@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_4
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%rbx)
	jmp	LBB0_4
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r10
	movl	%r8d, %ecx
	andl	$7, %ecx
	testq	%rcx, %rcx
	movl	$8, %edi
	cmoveq	%rdi, %rcx
	movq	%r8, %r9
	subq	%rcx, %r9
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movl	(%r13), %ecx
	xorl	%edi, %edi
	movaps	LCPI0_0(%rip), %xmm3            ## xmm3 = [4294967294,4294967294,4294967294,4294967294]
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=2
	addq	$8, %rdi
	cmpq	%rdi, %r9
	je	LBB0_36
LBB0_20:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rdx,%rdi,8), %xmm1
	movups	16(%rdx,%rdi,8), %xmm2
	shufps	$136, %xmm2, %xmm1              ## xmm1 = xmm1[0,2],xmm2[0,2]
	andps	%xmm3, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movd	%xmm1, %ebx
	testb	$1, %bl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 4(%rdx,%rdi,8)
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$4, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 12(%rdx,%rdi,8)
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$8, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 20(%rdx,%rdi,8)
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$12, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 28(%rdx,%rdi,8)
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=2
	movups	32(%rdx,%rdi,8), %xmm1
	movups	48(%rdx,%rdi,8), %xmm2
	shufps	$136, %xmm2, %xmm1              ## xmm1 = xmm1[0,2],xmm2[0,2]
	andps	%xmm3, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movd	%xmm1, %ebx
	testb	$1, %bl
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 36(%rdx,%rdi,8)
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$4, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 44(%rdx,%rdi,8)
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$8, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 52(%rdx,%rdi,8)
LBB0_34:                                ##   in Loop: Header=BB0_20 Depth=2
	pextrb	$12, %xmm1, %ebx
	testb	$1, %bl
	je	LBB0_19
## %bb.35:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%ecx, 60(%rdx,%rdi,8)
	jmp	LBB0_19
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r10, %rbx
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r8d, %edi
	subl	%r9d, %edi
	movq	%r9, %rcx
	testb	$1, %dil
	je	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rdx,%r9,8), %ecx
	andl	$-2, %ecx
	cmpl	%esi, %ecx
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %ecx
	movl	%ecx, 4(%rdx,%r9,8)
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r9), %rcx
LBB0_41:                                ##   in Loop: Header=BB0_5 Depth=1
	notq	%r9
	addq	%r8, %r9
	jne	LBB0_43
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_43 Depth=2
	addq	$2, %rcx
	cmpq	%rcx, %r8
	je	LBB0_2
LBB0_43:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rcx,8), %edi
	andl	$-2, %edi
	cmpl	%esi, %edi
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	(%r13), %edi
	movl	%edi, 4(%rdx,%rcx,8)
LBB0_45:                                ##   in Loop: Header=BB0_43 Depth=2
	movl	8(%rdx,%rcx,8), %edi
	andl	$-2, %edi
	cmpl	%esi, %edi
	jne	LBB0_42
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	(%r13), %edi
	movl	%edi, 12(%rdx,%rcx,8)
	jmp	LBB0_42
LBB0_47:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSIDE_BOTH,4,2                 ## @PSIDE_BOTH
	.comm	_PSIDE_FACING,4,2               ## @PSIDE_FACING
	.comm	_TEXINFO_NODE,4,2               ## @TEXINFO_NODE
	.comm	_PSIDE_FRONT,4,2                ## @PSIDE_FRONT
	.comm	_PSIDE_BACK,4,2                 ## @PSIDE_BACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SplitBrushList                 ; -- Begin function SplitBrushList
	.p2align	2
_SplitBrushList:                        ; @SplitBrushList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	xzr, [x3]
	str	xzr, [x2]
	cbz	x0, LBB0_31
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _PSIDE_BOTH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PSIDE_BOTH@GOTPAGEOFF]
Lloh2:
	adrp	x24, _PSIDE_FACING@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PSIDE_FACING@GOTPAGEOFF]
Lloh4:
	adrp	x25, _PSIDE_FRONT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _PSIDE_FRONT@GOTPAGEOFF]
Lloh6:
	adrp	x26, _PSIDE_BACK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _PSIDE_BACK@GOTPAGEOFF]
Lloh8:
	adrp	x28, _TEXINFO_NODE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _TEXINFO_NODE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	tst	w8, w27
	b.eq	LBB0_24
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	str	x8, [x0, #8]
	str	x0, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_31
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_29 Depth 2
	ldr	w27, [x22]
	ldr	w8, [x23]
	cmp	w27, w8
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x22
	bl	_SplitBrush
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x20]
	str	x9, [x8, #8]
	str	x8, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]
	cbz	x8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19]
	str	x9, [x8, #8]
	str	x8, [x19]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_CopyBrush
	str	x0, [sp, #8]
	ldr	w8, [x24]
	tst	w8, w27
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x0, #4]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x0, #16]
	ldr	w8, [x21]
	cmp	w9, #5
	b.lo	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x10, x9, lsl #3
	add	x12, x28, #4
	cmp	x10, x12
	ccmp	x11, x28, #0, lo
	b.hi	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ands	x11, x9, #0x3
	mov	w12, #4
	csel	x11, x12, x11, eq
	sub	x11, x9, x11
	dup.4s	v0, w8
	ldr	w12, [x28]
	add	x13, x10, #20
	mov	x14, x11
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x13, x13, #32
	subs	x14, x14, #4
	b.eq	LBB0_27
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x15, x13, #20
	ld2.4s	{ v1, v2 }, [x15]
	bic.4s	v1, #1
	cmeq.4s	v1, v1, v0
	xtn.4h	v1, v1
	umov.h	w15, v1[0]
	tbz	w15, #0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	stur	w12, [x13, #-16]
	umov.h	w15, v1[1]
	tbnz	w15, #0, LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	umov.h	w15, v1[2]
	tbz	w15, #0, LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=2
	str	w12, [x13]
	umov.h	w15, v1[3]
	tbz	w15, #0, LBB0_15
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=2
	umov.h	w15, v1[1]
	tbz	w15, #0, LBB0_18
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=2
	stur	w12, [x13, #-8]
	umov.h	w15, v1[2]
	tbnz	w15, #0, LBB0_19
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=2
	umov.h	w15, v1[3]
	tbz	w15, #0, LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=2
	str	w12, [x13, #8]
	b	LBB0_15
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	tst	w8, w27
	b.eq	LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	str	x8, [x0, #8]
	str	x0, [x19]
	b	LBB0_4
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x11, #0
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, x11, lsl #3
	add	x10, x10, #4
	sub	x9, x9, x11
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_2
LBB0_29:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w11, [x10, #-4]
	and	w11, w11, #0xfffffffe
	cmp	w11, w8
	b.ne	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	w11, [x28]
	str	w11, [x10]
	b	LBB0_28
LBB0_31:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSIDE_BOTH,4,2                 ; @PSIDE_BOTH
	.comm	_PSIDE_FACING,4,2               ; @PSIDE_FACING
	.comm	_TEXINFO_NODE,4,2               ; @TEXINFO_NODE
	.comm	_PSIDE_FRONT,4,2                ; @PSIDE_FRONT
	.comm	_PSIDE_BACK,4,2                 ; @PSIDE_BACK
.subsections_via_symbols
