	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xor_fw
_xor_fw:                                ## @xor_fw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	js	LBB0_7
## %bb.1:
	movq	_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_board@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r8
	leal	1(%rsi), %r9d
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	xorl	%ecx, %ecx
	movq	_KEY_LEN@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r8,%rdx,4), %eax
	xorl	%eax, (%rdi,%rcx,4)
	leal	1(%rcx), %eax
	cltd
	idivl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r8,%rdx,4), %eax
	xorl	%eax, 4(%rdi,%rcx,4)
	addq	$2, %rcx
	cmpq	%r10, %rcx
	jne	LBB0_4
## %bb.5:
	testb	$1, %r9b
	je	LBB0_7
LBB0_6:
	movq	_KEY_LEN@GOTPCREL(%rip), %rsi
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r8,%rdx,4), %eax
	xorl	%eax, (%rdi,%rcx,4)
LBB0_7:
	popq	%rbp
	retq
LBB0_2:
	xorl	%ecx, %ecx
	testb	$1, %r9b
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_key,8,3                        ## @key
	.comm	_board,8,3                      ## @board
	.comm	_KEY_LEN,4,2                    ## @KEY_LEN
	.no_dead_strip	_xor_fw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xor_fw
_xor_fw:                                ; @xor_fw
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x9, _key@GOTPAGE
Lloh1:
	ldr	x9, [x9, _key@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _board@GOTPAGE
Lloh4:
	ldr	x10, [x10, _board@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	add	w10, w1, #1
Lloh6:
	adrp	x11, _KEY_LEN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _KEY_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	sdiv	w13, w8, w12
	msub	w12, w13, w12, w8
	ldr	w12, [x9, w12, uxtw #2]
	lsl	x13, x8, #2
	ldr	w14, [x0, x13]
	eor	w12, w14, w12
	str	w12, [x0, x13]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_key,8,3                        ; @key
	.comm	_board,8,3                      ; @board
	.comm	_KEY_LEN,4,2                    ; @KEY_LEN
	.no_dead_strip	_xor_fw
.subsections_via_symbols
