	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arp_devaddr_compare
_arp_devaddr_compare:                   ## @arp_devaddr_compare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ARPT_DEV_ADDR_LEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, %eax
	cmovll	%eax, %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %r9
	movq	8(%rdi), %r10
	movl	%edx, %r8d
	cmpl	$8, %edx
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %edx
	andl	$-8, %edx
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rdi), %eax
	movl	4(%r9,%rdi), %ecx
	xorl	(%rsi,%rdi), %eax
	xorl	4(%rsi,%rdi), %ecx
	andl	(%r10,%rdi), %eax
	andl	4(%r10,%rdi), %ecx
	movd	%eax, %xmm2
	movd	%ecx, %xmm3
	pmovsxbd	%xmm2, %xmm2
	por	%xmm2, %xmm0
	pmovsxbd	%xmm3, %xmm2
	por	%xmm2, %xmm1
	addq	$8, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_5
## %bb.6:
	por	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %edi
	cmpq	%r8, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r9,%rdx), %eax
	xorb	(%rsi,%rdx), %al
	andb	(%r10,%rdx), %al
	movsbl	%al, %eax
	orl	%eax, %edi
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	testl	%edi, %edi
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPT_DEV_ADDR_LEN_MAX,4,2      ## @ARPT_DEV_ADDR_LEN_MAX
	.no_dead_strip	_arp_devaddr_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arp_devaddr_compare
_arp_devaddr_compare:                   ; @arp_devaddr_compare
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ARPT_DEV_ADDR_LEN_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPT_DEV_ADDR_LEN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	csel	w8, w8, w2, lt
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldp	x9, x10, [x0]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	w12, #0
	b	LBB0_13
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	cmp	w8, #16
	b.hs	LBB0_6
; %bb.5:
	mov	w12, #0
	mov	x11, #0
	b	LBB0_10
LBB0_6:
	and	x11, x8, #0xfffffff0
	movi.2d	v0, #0000000000000000
	mov	x12, x11
	mov	x13, x10
	mov	x14, x9
	mov	x15, x1
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q4, [x15], #16
	ldr	q5, [x14], #16
	eor.16b	v4, v5, v4
	ldr	q5, [x13], #16
	and.16b	v4, v5, v4
	sshll.8h	v5, v4, #0
	sshll.4s	v6, v5, #0
	sshll2.4s	v5, v5, #0
	sshll2.8h	v4, v4, #0
	sshll.4s	v7, v4, #0
	sshll2.4s	v4, v4, #0
	orr.16b	v3, v3, v4
	orr.16b	v2, v2, v7
	orr.16b	v1, v1, v5
	orr.16b	v0, v0, v6
	subs	x12, x12, #16
	b.ne	LBB0_7
; %bb.8:
	orr.16b	v0, v0, v2
	orr.16b	v1, v1, v3
	orr.16b	v0, v0, v1
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w12, v0[1]
	fmov	w13, s0
	orr	w12, w13, w12
	cmp	x11, x8
	b.eq	LBB0_15
; %bb.9:
	tbz	w8, #3, LBB0_13
LBB0_10:
	mov	x15, x11
	and	x11, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w12
	add	x12, x1, x15
	add	x13, x9, x15
	add	x14, x10, x15
	sub	x15, x15, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d2, [x12], #8
	ldr	d3, [x13], #8
	eor.8b	v2, v3, v2
	ldr	d3, [x14], #8
	and.8b	v2, v3, v2
	sshll.8h	v2, v2, #0
	sshll.4s	v3, v2, #0
	sshll2.4s	v2, v2, #0
	orr.16b	v0, v0, v2
	orr.16b	v1, v1, v3
	adds	x15, x15, #8
	b.ne	LBB0_11
; %bb.12:
	orr.16b	v0, v1, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w12, v0[1]
	fmov	w13, s0
	orr	w12, w13, w12
	cmp	x11, x8
	b.eq	LBB0_15
LBB0_13:
	add	x10, x10, x11
	add	x9, x9, x11
	add	x13, x1, x11
	sub	x8, x8, x11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x13], #1
	ldrb	w14, [x9], #1
	eor	w11, w14, w11
	ldrb	w14, [x10], #1
	and	w11, w14, w11
	sxtb	w11, w11
	orr	w12, w12, w11
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	cmp	w12, #0
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPT_DEV_ADDR_LEN_MAX,4,2      ; @ARPT_DEV_ADDR_LEN_MAX
	.no_dead_strip	_arp_devaddr_compare
.subsections_via_symbols
