	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_are_prefix_equal           ## -- Begin function in6_are_prefix_equal
	.p2align	4, 0x90
_in6_are_prefix_equal:                  ## @in6_are_prefix_equal
	.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
	cmpl	$129, %edx
	jb	LBB0_2
## %bb.1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_log
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%ebx, %r12d
	shrl	$3, %r12d
	movl	%r12d, %edx
	callq	_bcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.3:
	andl	$7, %ebx
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rcx
	movl	%r12d, %edx
	movl	(%rcx,%rdx,4), %esi
	movb	$8, %cl
	subb	%bl, %cl
	sarl	%cl, %esi
	movq	(%r14), %rdi
	movl	(%rdi,%rdx,4), %edx
	sarl	%cl, %edx
	cmpl	%edx, %esi
	jne	LBB0_6
LBB0_5:
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in6_are_prefix_equal: invalid prefix length(%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_are_prefix_equal           ; -- Begin function in6_are_prefix_equal
	.p2align	2
_in6_are_prefix_equal:                  ; @in6_are_prefix_equal
	.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	x20, x2
	cmp	w2, #129
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_log
	b	LBB0_3
LBB0_2:
	mov	x19, x1
	mov	x21, x0
	lsr	w22, w20, #3
	mov	x2, x22
	bl	_bcmp
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
LBB0_5:
	and	w8, w20, #0x7
	cbz	w8, LBB0_7
; %bb.6:
	ldr	x9, [x21]
	lsl	x10, x22, #2
	ldr	w9, [x9, x10]
	mov	w11, #8
	sub	w8, w11, w8
	asr	w9, w9, w8
	ldr	x11, [x19]
	ldr	w10, [x11, x10]
	asr	w8, w10, w8
	cmp	w9, w8
	b.ne	LBB0_3
LBB0_7:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in6_are_prefix_equal: invalid prefix length(%d)\n"

.subsections_via_symbols
