	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_piece_hitting
_is_piece_hitting:                      ## @is_piece_hitting
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %r9d
	leal	2(%rdx), %r10d
	leal	3(%rdx), %r11d
	leal	4(%rdx), %ebx
	leal	5(%rdx), %r15d
	leal	6(%rdx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$6, %rsi
	movb	$1, %r14b
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$6, %r12
	leaq	1(%r12), %rax
	setb	%r14b
	addq	$7, %rsi
	movq	%rax, %r12
	cmpq	$7, %rax
	je	LBB0_30
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r8
	movl	%r8d, %r13d
	cmpb	$0, -6(%rsi)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %edx
	ja	LBB0_30
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rcx
	leaq	(,%r13,4), %r15
	addq	%r13, %r15
	leaq	(%rdi,%r15,2), %rax
	movq	%rcx, %r15
	movq	%rbx, %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpb	$0, (%rbx,%rax)
	movq	%rcx, %rbx
	jne	LBB0_30
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -5(%rsi)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %r9d
	ja	LBB0_30
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	cmpb	$0, (%r9,%rax)
	jne	LBB0_30
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -4(%rsi)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %r10d
	ja	LBB0_30
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	cmpb	$0, (%r10,%rax)
	jne	LBB0_30
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -3(%rsi)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %r11d
	ja	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	cmpb	$0, (%r11,%rax)
	jne	LBB0_30
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -2(%rsi)
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %ebx
	ja	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	cmpb	$0, (%rbx,%rax)
	jne	LBB0_30
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -1(%rsi)
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, %r15d
	ja	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	cmpb	$0, (%r15,%rax)
	jne	LBB0_30
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rsi)
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$9, -48(%rbp)                   ## 4-byte Folded Reload
	ja	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$19, %r8d
	ja	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,4), %rax
	addq	%r13, %rax
	leaq	(%rdi,%rax,2), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$0, (%rcx,%rax)
	je	LBB0_29
LBB0_30:
	movzbl	%r14b, %eax
	andl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_piece_hitting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_piece_hitting
_is_piece_hitting:                      ; @is_piece_hitting
	.cfi_startproc
; %bb.0:
	mov	x12, #0
	add	w9, w2, #1
	add	w10, w2, #2
	add	w11, w2, #3
	add	w13, w2, #4
	add	w14, w2, #5
	add	w15, w2, #6
	add	x16, x1, #3
	mov	w8, #1
	mov	w17, #10
	mov	w1, w2
	mov	w3, w3
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x12, #6
	add	x4, x12, #1
	cset	w8, lo
	add	x16, x16, #7
	mov	x12, x4
	cmp	x4, #7
	b.eq	LBB0_30
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x5, x3, x12
	and	x4, x5, #0xffffffff
	ldurb	w6, [x16, #-3]
	cbz	w6, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w2, #9
	b.hi	LBB0_30
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x1]
	cbnz	w6, LBB0_30
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldurb	w6, [x16, #-2]
	cbz	w6, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #9
	b.hi	LBB0_30
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x9]
	cbnz	w6, LBB0_30
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldurb	w6, [x16, #-1]
	cbz	w6, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #9
	b.hi	LBB0_30
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x10]
	cbnz	w6, LBB0_30
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w6, [x16]
	cbz	w6, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w11, #9
	b.hi	LBB0_30
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x11]
	cbnz	w6, LBB0_30
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w6, [x16, #1]
	cbz	w6, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w13, #9
	b.hi	LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x13]
	cbnz	w6, LBB0_30
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w6, [x16, #2]
	cbz	w6, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w14, #9
	b.hi	LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x6, x4, x17, x0
	ldrb	w6, [x6, x14]
	cbnz	w6, LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w6, [x16, #3]
	cbz	w6, LBB0_1
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w15, #9
	b.hi	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w5, #19
	b.hi	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x4, x4, x17, x0
	ldrb	w4, [x4, x15]
	cbz	w4, LBB0_1
LBB0_30:
	and	w0, w8, #0x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_piece_hitting
.subsections_via_symbols
