	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_get_neigh              ## -- Begin function process_get_neigh
	.p2align	4, 0x90
_process_get_neigh:                     ## @process_get_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	12(%rdi), %edi
	callq	_nl_addr_get_prefixlen
	movl	%eax, -32(%rbp)
	movl	12(%r14), %edi
	callq	_nl_addr_get_family
	movl	%eax, -28(%rbp)
	movq	_RTM_GETROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_nlmsg_alloc_simple
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_NLMSG_ALIGNTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_nlmsg_append
	movq	_RTA_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%r15, %rdi
	callq	_nla_put_addr
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.3:
	movq	_RTA_OIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nla_put_u32
LBB0_4:
	movl	8(%r14), %edi
	movq	%r15, %rsi
	callq	_nl_send_auto_complete
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_nlmsg_free
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	movq	_NL_CB_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL_CB_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_get_route_cb@GOTPCREL(%rip), %rcx
	movq	%r14, %r8
	callq	_nl_socket_modify_cb
	movl	8(%r14), %edi
	callq	_nl_recvmsgs_default
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTM_GETROUTE,4,2               ## @RTM_GETROUTE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NLMSG_ALIGNTO,4,2              ## @NLMSG_ALIGNTO
	.comm	_RTA_DST,4,2                    ## @RTA_DST
	.comm	_RTA_OIF,4,2                    ## @RTA_OIF
	.comm	_NL_CB_VALID,4,2                ## @NL_CB_VALID
	.comm	_NL_CB_CUSTOM,4,2               ## @NL_CB_CUSTOM
	.comm	_get_route_cb,4,2               ## @get_route_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_get_neigh              ; -- Begin function process_get_neigh
	.p2align	2
_process_get_neigh:                     ; @process_get_neigh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_nl_addr_get_prefixlen
	str	w0, [sp, #8]
	ldr	w0, [x19, #12]
	bl	_nl_addr_get_family
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _RTM_GETROUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTM_GETROUTE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_nlmsg_alloc_simple
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _NLMSG_ALIGNTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NLMSG_ALIGNTO@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	w2, #8
	bl	_nlmsg_append
Lloh6:
	adrp	x8, _RTA_DST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTA_DST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x20
	bl	_nla_put_addr
	ldr	x2, [x19]
	cmp	x2, #1
	b.lt	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _RTA_OIF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTA_OIF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_nla_put_u32
LBB0_3:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_nl_send_auto_complete
	mov	x21, x0
	mov	x0, x20
	bl	_nlmsg_free
	tbnz	w21, #31, LBB0_6
; %bb.4:
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x8, _NL_CB_VALID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL_CB_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _NL_CB_CUSTOM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NL_CB_CUSTOM@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x3, _get_route_cb@GOTPAGE
Lloh19:
	ldr	x3, [x3, _get_route_cb@GOTPAGEOFF]
	mov	x4, x19
	bl	_nl_socket_modify_cb
	ldr	w0, [x19, #8]
	bl	_nl_recvmsgs_default
	mov	x21, x0
	b	LBB0_6
LBB0_5:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RTM_GETROUTE,4,2               ; @RTM_GETROUTE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NLMSG_ALIGNTO,4,2              ; @NLMSG_ALIGNTO
	.comm	_RTA_DST,4,2                    ; @RTA_DST
	.comm	_RTA_OIF,4,2                    ; @RTA_OIF
	.comm	_NL_CB_VALID,4,2                ; @NL_CB_VALID
	.comm	_NL_CB_CUSTOM,4,2               ; @NL_CB_CUSTOM
	.comm	_get_route_cb,4,2               ; @get_route_cb
.subsections_via_symbols
