	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitncmp                        ## -- Begin function bitncmp
	.p2align	4, 0x90
_bitncmp:                               ## @bitncmp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	leal	7(%r15), %ebx
	testl	%edx, %edx
	cmovnsl	%edx, %ebx
	movl	%ebx, %r12d
	sarl	$3, %r12d
	movl	%r12d, %edx
	callq	_memcmp
	movl	%eax, %ecx
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	andl	$-8, %ebx
	subl	%ebx, %r15d
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movslq	%r12d, %rax
	movzbl	(%r14,%rax), %ebx
	movzbl	(%r13,%rax), %r12d
	incl	%r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_IS_HIGHBIT_SET
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	_IS_HIGHBIT_SET
	cmpq	%rax, %r13
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%r12d, %r12d
	addl	%ebx, %ebx
	decl	%r15d
	cmpl	$1, %r15d
	jg	LBB0_3
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_4:
	movl	%r12d, %edi
	callq	_IS_HIGHBIT_SET
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	sbbl	%ecx, %ecx
	orl	$1, %ecx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitncmp                        ; -- Begin function bitncmp
	.p2align	2
_bitncmp:                               ; @bitncmp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	w8, w2, #7
	cmp	w2, #0
	csel	w8, w8, w2, lt
	asr	w22, w8, #3
	mov	x2, x22
	bl	_memcmp
	cbnz	w0, LBB0_17
; %bb.1:
	sub	w24, w21, w22, lsl #3
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.2:
	sxtw	x8, w22
	ldrb	w19, [x19, x8]
	ldrb	w20, [x20, x8]
	mov	x0, x20
	bl	_IS_HIGHBIT_SET
	mov	x22, x0
	mov	x0, x19
	bl	_IS_HIGHBIT_SET
	mov	x21, x20
	cmp	x22, x0
	b.ne	LBB0_16
; %bb.3:
	cmp	w24, #2
	b.lt	LBB0_15
; %bb.4:
	lsl	w22, w19, #1
	lsl	w21, w20, #1
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x23, x0
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cmp	x23, x0
	b.ne	LBB0_16
; %bb.5:
	cmp	w24, #3
	b.lt	LBB0_15
; %bb.6:
	lsl	w22, w19, #2
	lsl	w21, w20, #2
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x23, x0
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cmp	x23, x0
	b.ne	LBB0_16
; %bb.7:
	cmp	w24, #4
	b.lt	LBB0_15
; %bb.8:
	lsl	w22, w19, #3
	lsl	w21, w20, #3
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x23, x0
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cmp	x23, x0
	b.ne	LBB0_16
; %bb.9:
	cmp	w24, #5
	b.lt	LBB0_15
; %bb.10:
	lsl	w22, w19, #4
	lsl	w21, w20, #4
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x23, x0
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cmp	x23, x0
	b.ne	LBB0_16
; %bb.11:
	cmp	w24, #6
	b.lt	LBB0_15
; %bb.12:
	lsl	w22, w19, #5
	lsl	w21, w20, #5
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x23, x0
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cmp	x23, x0
	b.ne	LBB0_16
; %bb.13:
	cmp	w24, #7
	b.lt	LBB0_15
; %bb.14:
	lsl	w19, w19, #6
	lsl	w21, w20, #6
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	mov	x20, x0
	mov	x0, x19
	bl	_IS_HIGHBIT_SET
	cmp	x20, x0
	b.ne	LBB0_16
LBB0_15:
	mov	w0, #0
	b	LBB0_17
LBB0_16:
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	cmp	x0, #0
	mov	w8, #-1
	cneg	w0, w8, ne
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
