	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select
_select:                                ## @select
	.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
	decl	%r8d
	leaq	256(%rsi), %rax
	cmpq	%rdi, %rax
	seta	%r11b
	leaq	256(%rdi), %rbx
	cmpq	%rsi, %rbx
	seta	%r15b
	leaq	256(%rdx), %r9
	cmpq	%rdi, %r9
	seta	%r14b
	cmpq	%rdx, %rbx
	seta	-42(%rbp)                       ## 1-byte Folded Spill
	leaq	256(%rcx), %r12
	cmpq	%rdi, %r12
	seta	%r13b
	cmpq	%rcx, %rbx
	seta	%bl
	cmpq	%rsi, %r9
	seta	%r10b
	cmpq	%rdx, %rax
	seta	-41(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rsi, %r12
	seta	%r9b
	cmpq	%rcx, %rax
	seta	%al
	testb	%r15b, %r11b
	jne	LBB0_5
## %bb.1:
	andb	-42(%rbp), %r14b                ## 1-byte Folded Reload
	jne	LBB0_5
## %bb.2:
	andb	%bl, %r13b
	jne	LBB0_5
## %bb.3:
	andb	-41(%rbp), %r10b                ## 1-byte Folded Reload
	jne	LBB0_5
## %bb.4:
	andb	%al, %r9b
	jne	LBB0_5
## %bb.7:
	movd	%r8d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rax,4), %xmm1
	movdqu	(%rcx,%rax,4), %xmm2
	pxor	%xmm2, %xmm1
	pand	%xmm0, %xmm1
	pxor	%xmm1, %xmm2
	movdqu	%xmm2, (%rdi,%rax,4)
	movdqu	(%rdx,%rax,4), %xmm2
	pxor	%xmm1, %xmm2
	movdqu	%xmm2, (%rsi,%rax,4)
	movdqu	16(%rdx,%rax,4), %xmm1
	movdqu	16(%rcx,%rax,4), %xmm2
	pxor	%xmm2, %xmm1
	pand	%xmm0, %xmm1
	pxor	%xmm1, %xmm2
	movdqu	%xmm2, 16(%rdi,%rax,4)
	movdqu	16(%rdx,%rax,4), %xmm2
	pxor	%xmm1, %xmm2
	movdqu	%xmm2, 16(%rsi,%rax,4)
	addq	$8, %rax
	cmpq	$64, %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rax,4), %r9d
	movl	(%rdx,%rax,4), %ebx
	xorl	%r9d, %ebx
	andl	%r8d, %ebx
	xorl	%ebx, %r9d
	movl	%r9d, (%rdi,%rax,4)
	xorl	(%rdx,%rax,4), %ebx
	movl	%ebx, (%rsi,%rax,4)
	movl	4(%rcx,%rax,4), %r9d
	movl	4(%rdx,%rax,4), %ebx
	xorl	%r9d, %ebx
	andl	%r8d, %ebx
	xorl	%ebx, %r9d
	movl	%r9d, 4(%rdi,%rax,4)
	xorl	4(%rdx,%rax,4), %ebx
	movl	%ebx, 4(%rsi,%rax,4)
	addq	$2, %rax
	cmpq	$64, %rax
	jne	LBB0_6
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select
_select:                                ; @select
	.cfi_startproc
; %bb.0:
	sub	w8, w4, #1
	add	x13, x0, #256
	add	x14, x1, #256
	add	x11, x2, #256
	add	x12, x3, #256
	cmp	x11, x0
	ccmp	x13, x2, #0, hi
	cset	w9, hi
	cmp	x12, x0
	ccmp	x13, x3, #0, hi
	cset	w10, hi
	cmp	x11, x1
	ccmp	x14, x2, #0, hi
	cset	w11, hi
	cmp	x12, x1
	ccmp	x14, x3, #0, hi
	cset	w12, hi
	cmp	x13, x1
	ccmp	x14, x0, #0, hi
	b.hi	LBB0_7
; %bb.1:
	tbnz	w9, #0, LBB0_7
; %bb.2:
	tbnz	w10, #0, LBB0_7
; %bb.3:
	tbnz	w11, #0, LBB0_7
; %bb.4:
	cbnz	w12, LBB0_7
; %bb.5:
	mov	x9, #0
	dup.4s	v0, w8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q1, [x2, x9]
	ldr	q2, [x3, x9]
	eor.16b	v3, v2, v1
	and.16b	v3, v3, v0
	eor.16b	v2, v3, v2
	str	q2, [x0, x9]
	eor.16b	v1, v1, v3
	str	q1, [x1, x9]
	add	x9, x9, #16
	cmp	x9, #256
	b.ne	LBB0_6
	b	LBB0_9
LBB0_7:
	mov	x9, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x2, x9]
	ldr	w11, [x3, x9]
	eor	w10, w11, w10
	and	w10, w10, w8
	eor	w11, w10, w11
	str	w11, [x0, x9]
	ldr	w11, [x2, x9]
	eor	w10, w11, w10
	str	w10, [x1, x9]
	add	x9, x9, #4
	cmp	x9, #256
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_select
.subsections_via_symbols
