	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arp_req_set_public
_arp_req_set_public:                    ## @arp_req_set_public
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rax
	movq	%rax, -40(%rbp)
	movq	12(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	movl	$-1, %edi
	callq	_htonl
	cmpq	%rax, %r12
	jne	LBB0_2
LBB0_5:
	testq	%r15, %r15
	je	LBB0_6
LBB0_8:
	testq	%r12, %r12
	je	LBB0_13
## %bb.9:
	movq	_arp_tbl@GOTPCREL(%rip), %rdi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rsi
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_pneigh_lookup
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.10:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ATF_COM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.11:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_dev_getbyhwaddr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_8
## %bb.12:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_13:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arp_req_set_proxy              ## TAILCALL
LBB0_7:
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATF_COM,4,2                    ## @ATF_COM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_arp_tbl,4,2                    ## @arp_tbl
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_arp_req_set_public
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arp_req_set_public
_arp_req_set_public:                    ; @arp_req_set_public
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x1, #16]
	str	x8, [sp, #8]
	ldur	x22, [x1, #12]
	cbz	x22, LBB0_2
; %bb.1:
	mov	w0, #-1
	bl	_htonl
	cmp	x22, x0
	b.ne	LBB0_6
LBB0_2:
	cbz	x20, LBB0_7
LBB0_3:
	cbz	x22, LBB0_10
; %bb.4:
Lloh0:
	adrp	x0, _arp_tbl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _arp_tbl@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x1, x19
	mov	x3, x20
	mov	w4, #1
	bl	_pneigh_lookup
	cbz	x0, LBB0_11
; %bb.5:
	mov	w0, #0
	b	LBB0_13
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	ldr	w8, [x21]
Lloh4:
	adrp	x9, _ATF_COM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ATF_COM@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.8:
	ldp	w2, w1, [x21, #4]
	mov	x0, x19
	bl	_dev_getbyhwaddr
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.9:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	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
	b	_arp_req_set_proxy
LBB0_11:
Lloh9:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
LBB0_14:
	mov	x20, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATF_COM,4,2                    ; @ATF_COM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_arp_tbl,4,2                    ; @arp_tbl
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_arp_req_set_public
.subsections_via_symbols
