	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prefix_match                   ## -- Begin function prefix_match
	.p2align	4, 0x90
_prefix_match:                          ## @prefix_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	%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
	xorl	%r15d, %r15d
	cmpl	%ecx, %esi
	jl	LBB0_5
## %bb.1:
	movl	%ecx, %ebx
	movq	%rdi, %r12
	leal	7(%rbx), %r13d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r13d
	movl	%r13d, %r14d
	sarl	$3, %r14d
	movq	%rdx, %rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	andl	$-8, %r13d
	subl	%r13d, %ebx
	je	LBB0_3
## %bb.4:
	movl	$8, %ecx
	subl	%ebx, %ecx
	movq	(%r12), %rax
	movslq	%r14d, %rdx
	movl	$-16777216, %esi                ## imm = 0xFF000000
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	sarl	$24, %esi
	movq	(%rdi), %rcx
	movb	(%rcx,%rdx), %cl
	xorb	(%rax,%rdx), %cl
	movsbl	%cl, %eax
	xorl	%r15d, %r15d
	testl	%eax, %esi
	sete	%r15b
	jmp	LBB0_5
LBB0_3:
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_prefix_match                   ; -- Begin function prefix_match
	.p2align	2
_prefix_match:                          ; @prefix_match
	.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
	cmp	w1, w3
	b.lt	LBB0_2
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	add	w8, w3, #7
	cmp	w3, #0
	csel	w23, w8, w3, lt
	asr	w22, w23, #3
	mov	x1, x2
	mov	x2, x22
	bl	_memcmp
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
	and	w8, w23, #0xfffffff8
	sub	w8, w21, w8
	cbz	w8, LBB0_6
; %bb.5:
	mov	w9, #8
	sub	w8, w9, w8
	ldr	x9, [x20]
	sxtw	x10, w22
	ldrb	w9, [x9, x10]
	mov	w11, #-16777216
	lsl	w8, w11, w8
	ldr	x11, [x19]
	ldrb	w10, [x11, x10]
	eor	w9, w10, w9
	sxtb	w9, w9
	tst	w9, w8, asr #24
	cset	w0, eq
	b	LBB0_3
LBB0_6:
	mov	w0, #1
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
