	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_heim_bit_string_cmp        ## -- Begin function der_heim_bit_string_cmp
	.p2align	4, 0x90
_der_heim_bit_string_cmp:               ## @der_heim_bit_string_cmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %ecx
	movl	%ecx, %eax
	subl	(%rsi), %eax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	8(%rsi), %rsi
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %edx
	leal	7(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	movl	%eax, %ecx
	andl	$-8, %ecx
	subl	%ecx, %edx
	je	LBB0_3
## %bb.4:
	sarl	$3, %eax
	movq	8(%rbx), %rcx
	movslq	%eax, %rsi
	movzbl	(%rcx,%rsi), %eax
	movq	8(%r14), %rcx
	movzbl	(%rcx,%rsi), %esi
	movb	$8, %cl
	subb	%dl, %cl
	shrl	%cl, %eax
	shrl	%cl, %esi
	subl	%esi, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_heim_bit_string_cmp        ; -- Begin function der_heim_bit_string_cmp
	.p2align	2
_der_heim_bit_string_cmp:               ; @der_heim_bit_string_cmp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	w8, [x0]
	ldr	w9, [x1]
	subs	w0, w8, w9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x0, [x20, #8]
	ldr	x1, [x1, #8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w2, w8, #3
	bl	_memcmp
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w8, [x20]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	and	w10, w9, #0xfffffff8
	subs	w8, w8, w10
	b.eq	LBB0_4
; %bb.3:
	asr	w9, w9, #3
	ldr	x10, [x20, #8]
	sxtw	x9, w9
	ldrb	w10, [x10, x9]
	ldr	x11, [x19, #8]
	ldrb	w9, [x11, x9]
	mov	w11, #8
	sub	w8, w11, w8
	lsr	w10, w10, w8
	lsr	w8, w9, w8
	sub	w0, w10, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
