	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memcmp_constant_time
_memcmp_constant_time:                  ## @memcmp_constant_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	cmpq	$8, %rdx
	jae	LBB0_4
## %bb.3:
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r9, %rcx
	andq	$-2, %rcx
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rax,4), %xmm2
	movdqu	16(%rdi,%rax,4), %xmm3
	movdqu	32(%rdi,%rax,4), %xmm4
	movdqu	48(%rdi,%rax,4), %xmm5
	movdqu	(%rsi,%rax,4), %xmm6
	pxor	%xmm2, %xmm6
	por	%xmm0, %xmm6
	movdqu	16(%rsi,%rax,4), %xmm2
	pxor	%xmm3, %xmm2
	por	%xmm1, %xmm2
	movdqu	32(%rsi,%rax,4), %xmm0
	pxor	%xmm4, %xmm0
	por	%xmm6, %xmm0
	movdqu	48(%rsi,%rax,4), %xmm1
	pxor	%xmm5, %xmm1
	por	%xmm2, %xmm1
	addq	$16, %rax
	addq	$-2, %rcx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r9b
	je	LBB0_10
LBB0_9:
	movdqu	(%rdi,%rax,4), %xmm2
	movdqu	16(%rdi,%rax,4), %xmm3
	movdqu	(%rsi,%rax,4), %xmm4
	pxor	%xmm2, %xmm4
	por	%xmm4, %xmm0
	movdqu	16(%rsi,%rax,4), %xmm2
	pxor	%xmm3, %xmm2
	por	%xmm2, %xmm1
LBB0_10:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%rdx, %r8
	je	LBB0_14
## %bb.11:
	leaq	(%rsi,%r8,4), %rsi
	leaq	(%rdi,%r8,4), %rdi
LBB0_12:
	subq	%r8, %rdx
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r8,4), %ecx
	xorl	(%rdi,%r8,4), %ecx
	orl	%ecx, %eax
	incq	%r8
	cmpq	%r8, %rdx
	jne	LBB0_13
LBB0_14:
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	testb	$1, %r9b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_memcmp_constant_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memcmp_constant_time
_memcmp_constant_time:                  ; @memcmp_constant_time
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_3
; %bb.1:
	mov	x8, x0
	cmp	x2, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	w0, #0
	mov	x9, x1
	mov	x10, x8
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	and	x11, x2, #0xfffffffffffffff0
	lsl	x10, x11, #2
	add	x9, x1, x10
	add	x10, x8, x10
	add	x8, x8, #32
	add	x12, x1, #32
	movi.2d	v0, #0000000000000000
	mov	x13, x11
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x8, #-32]
	ldp	q6, q7, [x8], #64
	ldp	q16, q17, [x12, #-32]
	ldp	q18, q19, [x12], #64
	eor.16b	v4, v16, v4
	eor.16b	v5, v17, v5
	eor.16b	v6, v18, v6
	eor.16b	v7, v19, v7
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x13, x13, #16
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w8, s0
	mov.s	w12, v0[1]
	orr	w0, w8, w12
	cmp	x11, x2
	b.eq	LBB0_9
LBB0_7:
	sub	x8, x2, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	ldr	w12, [x9], #4
	eor	w11, w12, w11
	orr	w0, w11, w0
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_memcmp_constant_time
.subsections_via_symbols
