	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_resolve_neigh
_addr_resolve_neigh:                    ## @addr_resolve_neigh
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
	movq	%rdi, %rax
	movl	(%rdi), %ecx
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rdi
	testl	%ecx, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_3
## %bb.2:
	movq	$0, (%rbx)
LBB0_3:
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_rdma_translate_ip
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movq	_MAX_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	_IFF_NOARP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_7
## %bb.9:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rdma_copy_addr                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_MAX_ADDR_LEN,4,2               ## @MAX_ADDR_LEN
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.no_dead_strip	_addr_resolve_neigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_resolve_neigh
_addr_resolve_neigh:                    ; @addr_resolve_neigh
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x8, x0
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _IFF_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.1:
	ldr	x9, [x19]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	str	xzr, [x19]
LBB0_3:
	mov	x0, x1
	mov	x1, x19
	bl	_rdma_translate_ip
	cbnz	w0, LBB0_5
; %bb.4:
	ldp	w1, w0, [x19, #8]
Lloh3:
	adrp	x8, _MAX_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	mov	x0, x19
	mov	x1, x8
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
	mov	x2, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rdma_copy_addr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_MAX_ADDR_LEN,4,2               ; @MAX_ADDR_LEN
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.no_dead_strip	_addr_resolve_neigh
.subsections_via_symbols
