	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hasArp                         ## -- Begin function hasArp
	.p2align	4, 0x90
_hasArp:                                ## @hasArp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_INFO_CLASS_GENERIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movq	_INFO_TYPE_PROVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_ENTITY_TYPE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_AT_ENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -24(%rbp)
	movq	_IOCTL_TCP_QUERY_INFORMATION_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rax
	leaq	-24(%rbp), %rdx
	leaq	-4(%rbp), %r8
	movl	$20, %ecx
	movl	$4, %r9d
	pushq	$0
	pushq	%rax
	callq	_DeviceIoControl
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movq	_AT_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-4(%rbp), %eax
LBB0_3:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_REQUEST_QUERY_INFORMATION_INIT,20,2 ## @TCP_REQUEST_QUERY_INFORMATION_INIT
	.comm	_STATUS_SUCCESS,4,2             ## @STATUS_SUCCESS
	.comm	_INFO_CLASS_GENERIC,4,2         ## @INFO_CLASS_GENERIC
	.comm	_INFO_TYPE_PROVIDER,4,2         ## @INFO_TYPE_PROVIDER
	.comm	_ENTITY_TYPE_ID,4,2             ## @ENTITY_TYPE_ID
	.comm	_AT_ENTITY,4,2                  ## @AT_ENTITY
	.comm	_IOCTL_TCP_QUERY_INFORMATION_EX,4,2 ## @IOCTL_TCP_QUERY_INFORMATION_EX
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_AT_ARP,4,2                     ## @AT_ARP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hasArp                         ; -- Begin function hasArp
	.p2align	2
_hasArp:                                ; @hasArp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _INFO_CLASS_GENERIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFO_CLASS_GENERIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x8, _INFO_TYPE_PROVIDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFO_TYPE_PROVIDER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ENTITY_TYPE_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENTITY_TYPE_ID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh9:
	adrp	x8, _AT_ENTITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT_ENTITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x1]
	stp	w9, w8, [sp, #8]
Lloh12:
	adrp	x8, _IOCTL_TCP_QUERY_INFORMATION_EX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IOCTL_TCP_QUERY_INFORMATION_EX@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x4, sp
	add	x6, sp, #4
	mov	w3, #20
	mov	w5, #4
	mov	x7, #0
	bl	_DeviceIoControl
	bl	_NT_SUCCESS
	ldr	w8, [sp]
Lloh15:
	adrp	x9, _AT_ARP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AT_ARP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh18:
	adrp	x9, _FALSE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w0, #0
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_REQUEST_QUERY_INFORMATION_INIT,20,2 ; @TCP_REQUEST_QUERY_INFORMATION_INIT
	.comm	_STATUS_SUCCESS,4,2             ; @STATUS_SUCCESS
	.comm	_INFO_CLASS_GENERIC,4,2         ; @INFO_CLASS_GENERIC
	.comm	_INFO_TYPE_PROVIDER,4,2         ; @INFO_TYPE_PROVIDER
	.comm	_ENTITY_TYPE_ID,4,2             ; @ENTITY_TYPE_ID
	.comm	_AT_ENTITY,4,2                  ; @AT_ENTITY
	.comm	_IOCTL_TCP_QUERY_INFORMATION_EX,4,2 ; @IOCTL_TCP_QUERY_INFORMATION_EX
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_AT_ARP,4,2                     ; @AT_ARP
.subsections_via_symbols
