	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function move_piece_from_to
_move_piece_from_to:                    ## @move_piece_from_to
	.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, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %ebx
	leal	2(%rdx), %r10d
	leal	3(%rdx), %r11d
	leal	4(%rdx), %r14d
	leal	5(%rdx), %r15d
	leal	6(%rdx), %r12d
	movl	$6, %r9d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%cl, (%rsi,%r9)
	addq	$7, %r9
	incl	%eax
	movl	%eax, %ecx
	cmpq	$55, %r9
	je	LBB0_23
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%r13d, %r13d
	movl	%ecx, %eax
	cmpl	$6, %edx
	ja	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %ecx
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movq	%rbx, %r8
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movzbl	(%rbx,%rcx), %r13d
	movq	%r8, %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movb	%r13b, -6(%rsi,%r9)
	cmpl	$6, %ebx
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%rbx,%rcx), %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	movb	%cl, -5(%rsi,%r9)
	cmpl	$6, %r10d
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%r10,%rcx), %r13d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movb	%r13b, -4(%rsi,%r9)
	cmpl	$6, %r11d
	ja	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%r11,%rcx), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	movb	%cl, -3(%rsi,%r9)
	cmpl	$6, %r14d
	ja	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%r14,%rcx), %r13d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r8d, %r8d
	movb	%r13b, -2(%rsi,%r9)
	cmpl	$6, %r15d
	ja	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%r15,%rcx), %r8d
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movb	%r8b, -1(%rsi,%r9)
	cmpl	$6, %r12d
	ja	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	ja	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	addq	%rdi, %rcx
	movzbl	(%r12,%rcx), %ecx
	jmp	LBB0_22
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_move_piece_from_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function move_piece_from_to
_move_piece_from_to:                    ; @move_piece_from_to
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	add	w9, w2, #1
	add	w10, w2, #2
	add	w11, w2, #3
	add	w12, w2, #4
	add	w13, w2, #5
	add	w14, w2, #6
	add	x15, x1, #3
	mov	w16, w2
	mov	w17, w3
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	strb	w4, [x15, #3]
	add	x8, x8, #1
	add	x15, x15, #7
	cmp	x8, #7
	b.eq	LBB0_23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w4, #0
	add	x3, x17, x8
	and	x1, x3, #0xffffffff
	cmp	w2, #6
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w4, [x4, x16]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w5, #0
	sturb	w4, [x15, #-3]
	cmp	w9, #6
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w5, [x4, x9]
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w4, #0
	sturb	w5, [x15, #-2]
	cmp	w10, #6
	b.hi	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w4, [x4, x10]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w5, #0
	sturb	w4, [x15, #-1]
	cmp	w11, #6
	b.hi	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w5, [x4, x11]
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w4, #0
	strb	w5, [x15]
	cmp	w12, #6
	b.hi	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w4, [x4, x12]
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w5, #0
	strb	w4, [x15, #1]
	cmp	w13, #6
	b.hi	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x4, x1, #3
	sub	x4, x4, x1
	add	x4, x0, x4
	ldrb	w5, [x4, x13]
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w4, #0
	strb	w5, [x15, #2]
	cmp	w14, #6
	b.hi	LBB0_1
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w3, #6
	b.hi	LBB0_1
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x3, x1, #3
	sub	x1, x3, x1
	add	x1, x0, x1
	ldrb	w4, [x1, x14]
	b	LBB0_1
LBB0_23:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_move_piece_from_to
.subsections_via_symbols
