	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arp_bind_neighbour             ## -- Begin function arp_bind_neighbour
	.p2align	4, 0x90
_arp_bind_neighbour:                    ## @arp_bind_neighbour
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	xorl	%ebx, %ebx
	andl	(%rdx), %esi
	cmovneq	%rbx, %rax
	movq	%rax, -32(%rbp)
	movq	_arp_tbl@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rsi
	callq	___neigh_lookup_errno
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	movq	%r15, (%r14)
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_arp_tbl,4,2                    ## @arp_tbl
	.comm	_ARPHRD_ATM,8,3                 ## @ARPHRD_ATM
	.comm	_clip_tbl_hook,8,3              ## @clip_tbl_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arp_bind_neighbour             ; -- Begin function arp_bind_neighbour
	.p2align	2
_arp_bind_neighbour:                    ; @arp_bind_neighbour
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x2, [x0, #8]
	cbz	x2, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_4:
	ldr	w9, [x2]
Lloh3:
	adrp	x10, _IFF_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh5:
	adrp	x11, _IFF_POINTOPOINT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	csel	x8, x8, xzr, eq
	str	x8, [sp, #8]
Lloh9:
	adrp	x0, _arp_tbl@GOTPAGE
Lloh10:
	ldr	x0, [x0, _arp_tbl@GOTPAGEOFF]
	add	x1, sp, #8
	bl	___neigh_lookup_errno
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_PTR_ERR
	b	LBB0_7
LBB0_6:
	str	x20, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_arp_tbl,4,2                    ; @arp_tbl
	.comm	_ARPHRD_ATM,8,3                 ; @ARPHRD_ATM
	.comm	_clip_tbl_hook,8,3              ; @clip_tbl_hook
.subsections_via_symbols
