	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_point
_select_point:                          ## @select_point
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdx
	movl	%ebx, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movl	(%r9), %esi
	movl	4(%r9), %edi
	movl	8(%r9), %eax
	movl	12(%r9), %ebx
	movl	16(%r9), %r11d
	movl	20(%r9), %r14d
	movl	24(%r9), %r8d
	movl	28(%r9), %r12d
	movl	32(%r9), %r13d
	movl	36(%r9), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	40(%r9), %r15d
	movl	44(%r9), %ecx
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r10, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r9
	movl	%r10d, %edx
	xorl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, %ecx
	shrl	$4, %ecx
	orl	%edx, %ecx
	movl	%ecx, %edx
	shrl	$2, %edx
	orl	%ecx, %edx
	movl	%edx, %r10d
	shrl	%r10d
	orl	%edx, %r10d
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	andl	$1, %r10d
	decl	%r10d
	movl	(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%esi, (%rdx)
	movl	4(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %edi
	movl	%edi, 4(%rdx)
	movl	8(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %eax
	movl	%eax, 8(%rdx)
	movl	12(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %ebx
	movl	%ebx, 12(%rdx)
	movl	16(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %r11d
	movl	%r11d, 16(%rdx)
	movl	20(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %r14d
	movl	%r14d, 20(%rdx)
	movl	24(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %r8d
	movl	%r8d, 24(%rdx)
	movl	28(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %r12d
	movl	%r12d, 28(%rdx)
	movl	32(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, %r13d
	movl	%r13d, 32(%rdx)
	movl	36(%r9), %ecx
	andl	%r10d, %ecx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	orl	%ecx, %r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, 36(%rdx)
	movl	40(%r9), %ecx
	andl	%r10d, %ecx
	orl	%ecx, -48(%rbp)                 ## 4-byte Folded Spill
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 40(%rdx)
	andl	44(%r9), %r10d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	orl	%r10d, %ecx
	movq	-96(%rbp), %r10                 ## 8-byte Reload
	movl	%ecx, 44(%rdx)
	incq	%r10
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rdx
	cmpq	%r10, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_select_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_point
_select_point:                          ; @select_point
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x3]
	mov	x0, x3
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	cbz	w21, LBB0_3
; %bb.1:
	mov	x8, #0
	ldp	w9, w10, [x22]
	mov	w11, w21
	ldp	w12, w13, [x22, #8]
	ldp	w14, w15, [x22, #16]
	ldp	w16, w17, [x22, #24]
	ldp	w0, w1, [x22, #32]
	ldp	w2, w3, [x22, #40]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x4, [x19], #24
	eor	w5, w8, w20
	orr	w5, w5, w5, lsr #4
	orr	w5, w5, w5, lsr #2
	orr	w5, w5, w5, lsr #1
	and	w5, w5, #0x1
	sub	w5, w5, #1
	ldr	w6, [x4]
	and	w6, w6, w5
	orr	w9, w9, w6
	str	w9, [x22]
	ldr	w6, [x4, #4]
	and	w6, w6, w5
	orr	w10, w10, w6
	str	w10, [x22, #4]
	ldr	w6, [x4, #8]
	and	w6, w6, w5
	orr	w12, w12, w6
	str	w12, [x22, #8]
	ldr	w6, [x4, #12]
	and	w6, w6, w5
	orr	w13, w13, w6
	str	w13, [x22, #12]
	ldr	w6, [x4, #16]
	and	w6, w6, w5
	orr	w14, w14, w6
	str	w14, [x22, #16]
	ldr	w6, [x4, #20]
	and	w6, w6, w5
	orr	w15, w15, w6
	str	w15, [x22, #20]
	ldr	w6, [x4, #24]
	and	w6, w6, w5
	orr	w16, w16, w6
	str	w16, [x22, #24]
	ldr	w6, [x4, #28]
	and	w6, w6, w5
	orr	w17, w17, w6
	str	w17, [x22, #28]
	ldr	w6, [x4, #32]
	and	w6, w6, w5
	orr	w0, w0, w6
	str	w0, [x22, #32]
	ldr	w6, [x4, #36]
	and	w6, w6, w5
	orr	w1, w1, w6
	str	w1, [x22, #36]
	ldr	w6, [x4, #40]
	and	w6, w6, w5
	orr	w2, w2, w6
	str	w2, [x22, #40]
	ldr	w4, [x4, #44]
	and	w4, w4, w5
	orr	w3, w3, w4
	str	w3, [x22, #44]
	add	x8, x8, #1
	cmp	x11, x8
	b.ne	LBB0_2
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_select_point
.subsections_via_symbols
