	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitstring_match
_bitstring_match:                       ## @bitstring_match
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, %r12d
	sarl	$5, %r12d
	cmpl	$32, %edx
	jb	LBB0_2
## %bb.1:
	leal	(,%r12,4), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_2:
	andl	$31, %ebx
	je	LBB0_4
## %bb.3:
	negb	%bl
	movl	$-1, %edi
	movl	%ebx, %ecx
	shll	%cl, %edi
	movslq	%r12d, %rax
	movl	(%r15,%rax,4), %ebx
	xorl	(%r14,%rax,4), %ebx
	callq	_htonl
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ebx
	jne	LBB0_5
LBB0_4:
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bitstring_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitstring_match
_bitstring_match:                       ; @bitstring_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	asr	w22, w2, #5
	cmp	w2, #32
	b.lo	LBB0_3
; %bb.1:
	lsl	w2, w22, #2
	mov	x0, x20
	mov	x1, x19
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	and	w8, w21, #0x1f
	cbz	w8, LBB0_5
; %bb.4:
	sbfiz	x9, x22, #2, #32
	ldr	w20, [x20, x9]
	ldr	w19, [x19, x9]
	neg	w8, w8
	mov	w9, #-1
	lsl	w0, w9, w8
	bl	_htonl
	mov	x8, x0
	mov	w0, #0
	eor	w9, w19, w20
	tst	w9, w8
	b.ne	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bitstring_match
.subsections_via_symbols
