	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___timingsafe_memcmp            ## -- Begin function __timingsafe_memcmp
	.p2align	4, 0x90
___timingsafe_memcmp:                   ## @__timingsafe_memcmp
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	_CHAR_BIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	cmpq	$1, %rdx
	jne	LBB0_4
## %bb.3:
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movq	%rdx, %r10
	andq	$-2, %r10
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r9), %r14d
	movzbl	(%rsi,%r9), %r11d
	movl	%r14d, %ebx
	subl	%r11d, %ebx
	sarl	%cl, %ebx
	subl	%r14d, %r11d
	sarl	%cl, %r11d
	movl	%ebx, %r14d
	subl	%r11d, %r14d
	orl	%r8d, %r11d
	notl	%r8d
	andl	%r14d, %r8d
	orl	%eax, %r8d
	orl	%ebx, %r11d
	movzbl	1(%rdi,%r9), %eax
	movzbl	1(%rsi,%r9), %ebx
	movl	%eax, %r14d
	subl	%ebx, %r14d
	sarl	%cl, %r14d
	subl	%eax, %ebx
	sarl	%cl, %ebx
	movl	%r14d, %r15d
	subl	%ebx, %r15d
	movl	%r11d, %eax
	notl	%eax
	andl	%r15d, %eax
	orl	%r8d, %eax
	orl	%r14d, %ebx
	movl	%ebx, %r8d
	orl	%r11d, %r8d
	addq	$2, %r9
	cmpq	%r9, %r10
	jne	LBB0_5
## %bb.6:
	notl	%r8d
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movzbl	(%rdi,%r9), %edx
	movzbl	(%rsi,%r9), %esi
	movl	%edx, %edi
	subl	%esi, %edi
	sarl	%cl, %edi
	subl	%edx, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	subl	%esi, %edi
	andl	%r8d, %edi
	orl	%edi, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_BIT,1,0                   ## @CHAR_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___timingsafe_memcmp            ; -- Begin function __timingsafe_memcmp
	.p2align	2
___timingsafe_memcmp:                   ; @__timingsafe_memcmp
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #0
Lloh0:
	adrp	x10, _CHAR_BIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CHAR_BIT@GOTPAGEOFF]
	ldrb	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8], #1
	ldrb	w12, [x1], #1
	sub	w13, w11, w12
	asr	w13, w13, w10
	sub	w11, w12, w11
	asr	w11, w11, w10
	sub	w12, w13, w11
	bic	w12, w12, w9
	orr	w0, w12, w0
	orr	w9, w11, w9
	orr	w9, w9, w13
	subs	x2, x2, #1
	b.ne	LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_BIT,1,0                   ; @CHAR_BIT
.subsections_via_symbols
