	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_BoxOnLineSide                ## -- Begin function P_BoxOnLineSide
	.p2align	4, 0x90
_P_BoxOnLineSide:                       ## @P_BoxOnLineSide
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_BOXRIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	xorl	%r15d, %r15d
	cmpl	%ecx, (%rbx,%rax,4)
	setl	%r15b
	movq	_BOXLEFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpl	%ecx, (%rbx,%rdx,4)
	setl	%al
	cmpl	$0, 4(%r14)
	jns	LBB0_9
	jmp	LBB0_4
LBB0_1:
                                        ## implicit-def: $r15d
                                        ## implicit-def: $eax
	jmp	LBB0_9
LBB0_6:
	movq	_BOXLEFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %edi
	movq	_BOXTOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %esi
	movq	%r14, %rdx
	callq	_P_PointOnLineSide
	movl	%eax, %r15d
	movq	_BOXRIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_BOXRIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %edi
	movq	_BOXTOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %esi
	movq	%r14, %rdx
	callq	_P_PointOnLineSide
	movl	%eax, %r15d
	movq	_BOXLEFT@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %edi
	movq	_BOXBOTTOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %esi
	movq	%r14, %rdx
	callq	_P_PointOnLineSide
	jmp	LBB0_9
LBB0_3:
	movq	_BOXTOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movl	4(%rcx), %ecx
	xorl	%r15d, %r15d
	cmpl	%ecx, (%rbx,%rax,4)
	setg	%r15b
	movq	_BOXBOTTOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpl	%ecx, (%rbx,%rdx,4)
	setg	%al
	cmpl	$0, 16(%r14)
	jns	LBB0_9
LBB0_4:
	xorl	$1, %r15d
	xorl	$1, %eax
LBB0_9:
	cmpl	%eax, %r15d
	movl	$-1, %eax
	cmovel	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_BOXTOP,8,3                     ## @BOXTOP
	.comm	_BOXBOTTOM,8,3                  ## @BOXBOTTOM
	.comm	_BOXRIGHT,8,3                   ## @BOXRIGHT
	.comm	_BOXLEFT,8,3                    ## @BOXLEFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_BoxOnLineSide                ; -- Begin function P_BoxOnLineSide
	.p2align	2
_P_BoxOnLineSide:                       ; @P_BoxOnLineSide
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _BOXRIGHT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BOXRIGHT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x21, x8, lsl #2]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w19, lt
Lloh5:
	adrp	x8, _BOXLEFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BOXLEFT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x21, x8, lsl #2]
	cmp	w8, w9
	cset	w0, lt
	ldr	w8, [x20, #4]
	tbz	w8, #31, LBB0_9
	b	LBB0_8
LBB0_3:
                                        ; implicit-def: $w19
                                        ; implicit-def: $w0
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _BOXLEFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BOXLEFT@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x21, x8, lsl #2]
Lloh11:
	adrp	x8, _BOXTOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BOXTOP@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w1, [x21, x8, lsl #2]
	mov	x2, x20
	bl	_P_PointOnLineSide
	mov	x19, x0
Lloh14:
	adrp	x8, _BOXRIGHT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BOXRIGHT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _BOXRIGHT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BOXRIGHT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	w0, [x21, x8, lsl #2]
Lloh19:
	adrp	x8, _BOXTOP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BOXTOP@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w1, [x21, x8, lsl #2]
	mov	x2, x20
	bl	_P_PointOnLineSide
	mov	x19, x0
Lloh22:
	adrp	x8, _BOXLEFT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BOXLEFT@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	ldr	w0, [x21, x8, lsl #2]
Lloh24:
	adrp	x8, _BOXBOTTOM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BOXBOTTOM@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w1, [x21, x8, lsl #2]
	mov	x2, x20
	bl	_P_PointOnLineSide
	b	LBB0_9
LBB0_7:
Lloh27:
	adrp	x8, _BOXTOP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BOXTOP@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w8, [x21, x8, lsl #2]
	ldr	x9, [x20, #8]
	ldr	w9, [x9, #4]
	cmp	w8, w9
	cset	w19, gt
Lloh30:
	adrp	x8, _BOXBOTTOM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BOXBOTTOM@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w8, [x21, x8, lsl #2]
	cmp	w8, w9
	cset	w0, gt
	ldr	w8, [x20, #16]
	tbz	w8, #31, LBB0_9
LBB0_8:
	eor	w19, w19, #0x1
	eor	w0, w0, #0x1
LBB0_9:
	cmp	w19, w0
	csinv	w0, w19, wzr, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_BOXTOP,8,3                     ; @BOXTOP
	.comm	_BOXBOTTOM,8,3                  ; @BOXBOTTOM
	.comm	_BOXRIGHT,8,3                   ; @BOXRIGHT
	.comm	_BOXLEFT,8,3                    ; @BOXLEFT
.subsections_via_symbols
