	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CM_TraceThroughBrush
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xbf800000                      ## float -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CM_TraceThroughBrush
	.p2align	4, 0x90
_CM_TraceThroughBrush:                  ## @CM_TraceThroughBrush
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	je	LBB0_49
## %bb.1:
	movq	_c_brush_traces@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 80(%rax)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_3
## %bb.12:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %r12
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	movslq	(%rcx), %rax
	addq	$16, %r14
	movaps	%xmm0, %xmm1
	movq	%r12, %rbx
	cmpq	%rax, %r15
	jge	LBB0_38
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	8(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%rax,%r14), %r12
	movss	(%r12), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	addss	72(%r13), %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	16(%r12), %edi
	movl	76(%r13), %esi
	callq	_DotProduct
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	movl	60(%r13), %edi
	movl	76(%r13), %esi
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	callq	_VectorSubtract
	movl	56(%r13), %edi
	movl	76(%r13), %esi
	callq	_VectorSubtract
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	callq	_VectorAdd
	movl	56(%r13), %edi
	movl	76(%r13), %esi
	callq	_VectorAdd
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	16(%r12), %esi
	callq	_DotProduct
	subss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movl	16(%r12), %esi
	callq	_DotProduct
	movss	-52(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	subss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmovaq	%rax, %rdx
	ucomiss	%xmm1, %xmm3
	movq	-112(%rbp), %r13                ## 8-byte Reload
	cmovaq	%rax, %r13
	jbe	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_SURFACE_CLIP_EPSILON@GOTPCREL(%rip), %rax
	ucomiss	(%rax), %xmm0
	jae	LBB0_49
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	ucomiss	%xmm3, %xmm0
	jae	LBB0_49
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	ucomiss	%xmm3, %xmm1
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	jb	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	ucomiss	%xmm0, %xmm1
	jae	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	ucomiss	%xmm0, %xmm3
	movq	_SURFACE_CLIP_EPSILON@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	subss	%xmm0, %xmm1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jbe	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	subss	%xmm2, %xmm3
	divss	%xmm1, %xmm3
	xorps	%xmm0, %xmm0
	maxss	%xmm3, %xmm0
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%r14, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_13 Depth=1
	addss	%xmm2, %xmm3
	divss	%xmm1, %xmm3
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm3, %xmm1
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %r12
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=1
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %r12
	movaps	%xmm1, %xmm0
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_29
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_3
## %bb.5:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%edx, %edx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movslq	(%rcx), %rax
	addq	$16, %rbx
	movaps	%xmm0, %xmm1
	movq	%r12, %rdx
	cmpq	%rax, %r15
	jge	LBB0_38
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	movq	8(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%rax,%rbx), %r12
	movss	(%r12), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	64(%r14), %rax
	movq	8(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	16(%r12), %esi
	callq	_DotProduct
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movl	60(%r14), %edi
	movl	16(%r12), %esi
	callq	_DotProduct
	subss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -112(%rbp)               ## 4-byte Spill
	movl	56(%r14), %edi
	movl	16(%r12), %esi
	callq	_DotProduct
	movss	-112(%rbp), %xmm3               ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	subss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	ucomiss	%xmm1, %xmm0
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmovaq	%rax, %rdx
	ucomiss	%xmm1, %xmm3
	cmovaq	%rax, %r13
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_SURFACE_CLIP_EPSILON@GOTPCREL(%rip), %rax
	ucomiss	(%rax), %xmm0
	jae	LBB0_49
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	ucomiss	%xmm3, %xmm0
	jae	LBB0_49
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	ucomiss	%xmm3, %xmm1
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	jb	LBB0_30
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	ucomiss	%xmm0, %xmm1
	jae	LBB0_11
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	ucomiss	%xmm0, %xmm3
	movq	_SURFACE_CLIP_EPSILON@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	subss	%xmm0, %xmm1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jbe	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	subss	%xmm2, %xmm3
	divss	%xmm1, %xmm3
	xorps	%xmm0, %xmm0
	maxss	%xmm3, %xmm0
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%rbx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	addss	%xmm2, %xmm3
	divss	%xmm1, %xmm3
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm3, %xmm1
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_37
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movaps	%xmm1, %xmm0
	jmp	LBB0_37
LBB0_35:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_37
LBB0_3:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_38:
	testq	%r13, %r13
	je	LBB0_39
## %bb.41:
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_49
## %bb.42:
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_49
## %bb.43:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_49
## %bb.44:
	xorps	%xmm1, %xmm1
	maxss	%xmm0, %xmm1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movss	%xmm1, (%rcx)
	testq	%r12, %r12
	je	LBB0_46
## %bb.45:
	movq	16(%r12), %rax
	movq	%rax, 32(%rcx)
	movups	(%r12), %xmm0
	movups	%xmm0, 16(%rcx)
LBB0_46:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_48
## %bb.47:
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	jmp	LBB0_48
LBB0_39:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 48(%rcx)
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_49
## %bb.40:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 40(%rcx)
	movl	$0, (%rcx)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_48:
	movl	4(%rdx), %eax
	movl	%eax, 4(%rcx)
LBB0_49:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_c_brush_traces,4,2             ## @c_brush_traces
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_SURFACE_CLIP_EPSILON,4,2       ## @SURFACE_CLIP_EPSILON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_TraceThroughBrush           ; -- Begin function CM_TraceThroughBrush
	.p2align	2
_CM_TraceThroughBrush:                  ; @CM_TraceThroughBrush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	ldr	w8, [x1]
	cbz	w8, LBB0_42
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _c_brush_traces@GOTPAGE
Lloh1:
	ldr	x8, [x8, _c_brush_traces@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	ldr	x9, [x0, #80]
	ldr	w8, [x1]
	cmp	w8, #1
	cbz	x9, LBB0_18
; %bb.2:
	b.lt	LBB0_31
; %bb.3:
	mov	x25, #0
	mov	x26, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	x23, #0
	fmov	s11, #-1.00000000
Lloh5:
	adrp	x22, _qtrue@GOTPAGE
Lloh6:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
	fmov	s9, #1.00000000
	movi	d10, #0000000000000000
	mov	x24, x21
	fmov	s8, #1.00000000
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x23
	fmov	s0, s11
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x20]
	add	x25, x25, #16
	fmov	s11, s0
	mov	x23, x27
	cmp	x26, x8
	b.ge	LBB0_32
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x28, x8, x25
	ldr	x27, [x28, #8]
	ldr	s12, [x27]
	ldr	s13, [x19, #72]
	ldr	w0, [x27, #16]
	ldr	w1, [x19, #76]
	bl	_DotProduct
	ldr	w0, [x19, #60]
	ldr	w1, [x19, #76]
	fcmp	s0, #0.0
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_VectorSubtract
	ldr	w0, [x19, #56]
	ldr	w1, [x19, #76]
	bl	_VectorSubtract
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_VectorAdd
	ldr	w0, [x19, #56]
	ldr	w1, [x19, #76]
	bl	_VectorAdd
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	fadd	s13, s12, s13
	ldr	w1, [x27, #16]
	bl	_DotProduct
	fsub	s12, s0, s13
	ldr	w1, [x27, #16]
	bl	_DotProduct
	fsub	s0, s0, s13
	ldr	x8, [x22]
	fcmp	s0, #0.0
	csel	x21, x8, x21, gt
	fcmp	s12, #0.0
	csel	x24, x8, x24, gt
	b.le	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh7:
	adrp	x8, _SURFACE_CLIP_EPSILON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SURFACE_CLIP_EPSILON@GOTPAGEOFF]
Lloh9:
	ldr	s1, [x8]
	fcmp	s0, s1
	fccmp	s0, s12, #0, lt
	b.ge	LBB0_42
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	fcmp	s12, #0.0
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	fcmp	s0, #0.0
	b.ls	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _SURFACE_CLIP_EPSILON@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SURFACE_CLIP_EPSILON@GOTPAGEOFF]
Lloh12:
	ldr	s1, [x8]
	fcmp	s12, s0
	fsub	s0, s12, s0
	b.le	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	fsub	s1, s12, s1
	fdiv	s0, s1, s0
	fmax	s0, s0, s10
	fcmp	s0, s11
	b.le	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	fadd	s1, s12, s1
	fdiv	s0, s1, s0
	fmin	s1, s0, s9
	fcmp	s1, s8
	b.pl	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x23
	fmov	s0, s11
	fmov	s8, s1
	b	LBB0_5
LBB0_18:
	b.lt	LBB0_31
; %bb.19:
	mov	x25, #0
	mov	x26, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	x27, #0
	fmov	s11, #-1.00000000
Lloh13:
	adrp	x28, _qtrue@GOTPAGE
Lloh14:
	ldr	x28, [x28, _qtrue@GOTPAGEOFF]
	fmov	s9, #1.00000000
	movi	d10, #0000000000000000
	mov	x24, x21
	fmov	s8, #1.00000000
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	fmov	s0, s11
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x20]
	add	x25, x25, #16
	fmov	s11, s0
	cmp	x26, x8
	b.ge	LBB0_32
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x23, x8, x25
	ldr	x22, [x23, #8]
	ldr	s12, [x22]
	ldr	x8, [x19, #64]
	ldr	x9, [x22, #8]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x22, #16]
	bl	_DotProduct
	fsub	s13, s12, s0
	ldr	w0, [x19, #60]
	ldr	w1, [x22, #16]
	bl	_DotProduct
	fsub	s12, s0, s13
	ldr	w0, [x19, #56]
	ldr	w1, [x22, #16]
	bl	_DotProduct
	fsub	s0, s0, s13
	ldr	x8, [x28]
	fcmp	s0, #0.0
	csel	x21, x8, x21, gt
	fcmp	s12, #0.0
	csel	x24, x8, x24, gt
	b.le	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh15:
	adrp	x8, _SURFACE_CLIP_EPSILON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SURFACE_CLIP_EPSILON@GOTPAGEOFF]
Lloh17:
	ldr	s1, [x8]
	fcmp	s0, s1
	fccmp	s0, s12, #0, lt
	b.ge	LBB0_42
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	fcmp	s12, #0.0
	b.hi	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	fcmp	s0, #0.0
	b.ls	LBB0_20
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
Lloh18:
	adrp	x8, _SURFACE_CLIP_EPSILON@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SURFACE_CLIP_EPSILON@GOTPAGEOFF]
Lloh20:
	ldr	s1, [x8]
	fcmp	s12, s0
	fsub	s0, s12, s0
	b.le	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
	fsub	s1, s12, s1
	fdiv	s0, s1, s0
	fmax	s0, s0, s10
	fcmp	s0, s11
	b.le	LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x27, x22
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_21
LBB0_29:                                ;   in Loop: Header=BB0_22 Depth=1
	fadd	s1, s12, s1
	fdiv	s0, s1, s0
	fmin	s1, s0, s9
	fmov	s0, s11
	fcmp	s1, s8
	b.pl	LBB0_21
; %bb.30:                               ;   in Loop: Header=BB0_22 Depth=1
	fmov	s8, s1
	b	LBB0_21
LBB0_31:
	mov	x27, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	fmov	s8, #1.00000000
	fmov	s0, #-1.00000000
	mov	x24, x21
LBB0_32:
	cbz	x24, LBB0_39
; %bb.33:
	fmov	s1, #-1.00000000
	fcmp	s0, s1
	fccmp	s0, s8, #0, gt
	b.pl	LBB0_42
; %bb.34:
	ldr	s1, [x19]
	fcmp	s0, s1
	b.pl	LBB0_42
; %bb.35:
	movi	d1, #0000000000000000
	fmax	s0, s0, s1
	str	s0, [x19]
	cbz	x27, LBB0_37
; %bb.36:
	ldr	q0, [x27]
	ldr	x8, [x27, #16]
	str	x8, [x19, #32]
	str	q0, [x19, #16]
LBB0_37:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_41
; %bb.38:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_41
LBB0_39:
Lloh21:
	adrp	x8, _qtrue@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x19, #48]
	cbnz	x21, LBB0_42
; %bb.40:
	str	x8, [x19, #40]
	str	wzr, [x19]
LBB0_41:
	ldr	w8, [x20, #4]
	str	w8, [x19, #4]
LBB0_42:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_c_brush_traces,4,2             ; @c_brush_traces
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_SURFACE_CLIP_EPSILON,4,2       ; @SURFACE_CLIP_EPSILON
.subsections_via_symbols
