	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrushOutOfBounds               ## -- Begin function BrushOutOfBounds
	.p2align	4, 0x90
_BrushOutOfBounds:                      ## @BrushOutOfBounds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_12
## %bb.1:
	movq	8(%rdi), %r8
	xorl	%r10d, %r10d
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r8,%r10,8), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2ssq	(%rsi), %xmm1
	movq	8(%rax), %r11
	addss	%xmm0, %xmm1
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r11,%rdi,8), %rbx
	xorps	%xmm2, %xmm2
	cvtsi2ssq	(%rbx), %xmm2
	movl	$1, %eax
	ucomiss	%xmm2, %xmm1
	ja	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	(%rdx), %xmm3
	subss	%xmm0, %xmm3
	ucomiss	%xmm3, %xmm2
	ja	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	xorps	%xmm2, %xmm2
	cvtsi2ssq	8(%rbx), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	8(%rsi), %xmm3
	addss	%xmm0, %xmm3
	ucomiss	%xmm2, %xmm3
	ja	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	8(%rdx), %xmm3
	subss	%xmm0, %xmm3
	ucomiss	%xmm3, %xmm2
	ja	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	xorps	%xmm2, %xmm2
	cvtsi2ssq	16(%rbx), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	16(%rsi), %xmm3
	addss	%xmm0, %xmm3
	ucomiss	%xmm2, %xmm3
	ja	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	16(%rdx), %xmm3
	subss	%xmm0, %xmm3
	ucomiss	%xmm3, %xmm2
	ja	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r10
	cmpq	%r9, %r10
	jne	LBB0_2
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrushOutOfBounds               ; -- Begin function BrushOutOfBounds
	.p2align	2
_BrushOutOfBounds:                      ; @BrushOutOfBounds
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x12, [x10, x9, lsl #3]
	ldr	w11, [x12]
	cmp	w11, #1
	b.lt	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x12, #8]
	ldr	x13, [x1]
	scvtf	s1, x13
	fadd	s1, s1, s0
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x12]
	ldr	x14, [x13]
	scvtf	s2, x14
	fcmp	s1, s2
	b.gt	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x14, [x2]
	scvtf	s3, x14
	fsub	s3, s3, s0
	fcmp	s3, s2
	b.mi	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x14, [x13, #8]
	scvtf	s2, x14
	ldr	x14, [x1, #8]
	scvtf	s3, x14
	fadd	s3, s3, s0
	fcmp	s3, s2
	b.gt	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x14, [x2, #8]
	scvtf	s3, x14
	fsub	s3, s3, s0
	fcmp	s3, s2
	b.mi	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x13, [x13, #16]
	scvtf	s2, x13
	ldr	x13, [x1, #16]
	scvtf	s3, x13
	fadd	s3, s3, s0
	fcmp	s3, s2
	b.gt	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x13, [x2, #16]
	scvtf	s3, x13
	fsub	s3, s3, s0
	fcmp	s3, s2
	b.mi	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=2
	add	x12, x12, #8
	subs	x11, x11, #1
	b.ne	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_12:
	mov	w0, #0
	ret
LBB0_13:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
