	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_piece_to_board
_add_piece_to_board:                    ## @add_piece_to_board
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rax
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rsi,%rcx,2), %rcx
	addq	%rcx, %rax
	addq	$6, %rax
	movl	$6, %ecx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$10, %rax
	addq	$7, %rcx
	cmpq	$55, %rcx
	je	LBB0_16
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-6(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -6(%rax)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-5(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -5(%rax)
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-4(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -4(%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-3(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -3(%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-2(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -2(%rax)
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-1(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, -1(%rax)
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, (%rax)
	jmp	LBB0_15
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_piece_to_board
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_piece_to_board
_add_piece_to_board:                    ; @add_piece_to_board
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	w9, #10
	smaddl	x9, w3, w9, x1
	add	x10, x9, w2, sxtw
	add	x9, x0, #3
	add	x10, x10, #3
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #10
	add	x9, x9, #7
	cmp	x8, #70
	b.eq	LBB0_16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w11, [x9, #-3]
	cbz	w11, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	sturb	w11, [x12, #-3]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldurb	w11, [x9, #-2]
	cbz	w11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	sturb	w11, [x12, #-2]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldurb	w11, [x9, #-1]
	cbz	w11, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	sturb	w11, [x12, #-1]
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w11, [x9]
	cbz	w11, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w11, [x10, x8]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w11, [x9, #1]
	cbz	w11, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	strb	w11, [x12, #1]
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w11, [x9, #2]
	cbz	w11, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	strb	w11, [x12, #2]
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w11, [x9, #3]
	cbz	w11, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, x8
	strb	w11, [x12, #3]
	b	LBB0_1
LBB0_16:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_piece_to_board
.subsections_via_symbols
