	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aarp_proxy_probe_network       ## -- Begin function aarp_proxy_probe_network
	.p2align	4, 0x90
_aarp_proxy_probe_network:              ## @aarp_proxy_probe_network
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_ARPHRD_LOCALTLK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.1:
	movq	_ARPHRD_PPP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_aarp_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movl	$-1, (%rax)
	movq	_ATIF_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	(%r14), %eax
	movl	%eax, 24(%r12)
	movl	4(%r14), %eax
	movl	%eax, 28(%r12)
	movq	(%r15), %rax
	movq	%rax, 16(%r12)
	movq	_aarp_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movl	(%r14), %eax
	movq	_AARP_HASH_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cltd
	idivl	%ecx
	movq	_proxies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%rdx, 8(%r12)
	movq	%r12, (%rax,%rcx,8)
	movq	_AARP_RETRANSMIT_LIMIT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.5:
	xorl	%r13d, %r13d
	movq	_aarp_lock@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	%r14, %rsi
	callq	_aarp_send_probe
	movq	%rbx, %rdi
	callq	_write_unlock_bh
	movl	$100, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_write_lock_bh
	movl	4(%r12), %eax
	movq	_ATIF_PROBE_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%r13d
	movq	_AARP_RETRANSMIT_LIMIT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	jb	LBB0_8
LBB0_9:
	testl	%eax, %ecx
	je	LBB0_11
LBB0_10:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movl	%eax, (%r12)
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_6:
	movl	4(%r12), %eax
	movq	_ATIF_PROBE_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_10
LBB0_11:
	movq	_ATIF_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movl	$1, %ebx
LBB0_12:
	movq	_aarp_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_ARPHRD_LOCALTLK,8,3            ## @ARPHRD_LOCALTLK
	.comm	_ARPHRD_PPP,8,3                 ## @ARPHRD_PPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATIF_PROBE,4,2                 ## @ATIF_PROBE
	.comm	_aarp_lock,4,2                  ## @aarp_lock
	.comm	_AARP_HASH_SIZE,4,2             ## @AARP_HASH_SIZE
	.comm	_proxies,8,3                    ## @proxies
	.comm	_AARP_RETRANSMIT_LIMIT,4,2      ## @AARP_RETRANSMIT_LIMIT
	.comm	_ATIF_PROBE_FAIL,4,2            ## @ATIF_PROBE_FAIL
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aarp_proxy_probe_network       ; -- Begin function aarp_proxy_probe_network
	.p2align	2
_aarp_proxy_probe_network:              ; @aarp_proxy_probe_network
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ARPHRD_LOCALTLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_LOCALTLK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ARPHRD_PPP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ARPHRD_PPP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x20, x1
	mov	x21, x0
	bl	_aarp_alloc
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	mov	w8, #-1
	str	w8, [x0]
Lloh8:
	adrp	x23, _ATIF_PROBE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ATIF_PROBE@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x0, #4]
	ldr	d0, [x20]
	str	d0, [x0, #24]
	ldr	x8, [x21]
	str	x8, [x0, #16]
Lloh10:
	adrp	x0, _aarp_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _aarp_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _AARP_HASH_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AARP_HASH_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	sub	w9, w9, #1
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
Lloh15:
	adrp	x9, _proxies@GOTPAGE
Lloh16:
	ldr	x9, [x9, _proxies@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	sbfiz	x8, x8, #3, #32
	ldr	x10, [x9, x8]
	str	x10, [x19, #8]
	str	x19, [x9, x8]
Lloh18:
	adrp	x24, _AARP_RETRANSMIT_LIMIT@GOTPAGE
Lloh19:
	ldr	x24, [x24, _AARP_RETRANSMIT_LIMIT@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_11
; %bb.4:
	mov	w25, #0
Lloh20:
	adrp	x22, _aarp_lock@GOTPAGE
Lloh21:
	ldr	x22, [x22, _aarp_lock@GOTPAGEOFF]
Lloh22:
	adrp	x26, _ATIF_PROBE_FAIL@GOTPAGE
Lloh23:
	ldr	x26, [x26, _ATIF_PROBE_FAIL@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x20
	bl	_aarp_send_probe
	mov	x0, x22
	bl	_write_unlock_bh
	mov	w0, #100
	bl	_msleep
	mov	x0, x22
	bl	_write_lock_bh
	ldr	w8, [x19, #4]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	ldr	w10, [x24]
	cmp	w25, w10
	b.lo	LBB0_5
LBB0_7:
	tst	w9, w8
	b.eq	LBB0_12
LBB0_8:
Lloh24:
	adrp	x8, _jiffies@GOTPAGE
Lloh25:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	sub	w8, w8, #1
	str	w8, [x19]
Lloh27:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_13
LBB0_9:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_14
LBB0_11:
	ldr	w8, [x19, #4]
Lloh32:
	adrp	x9, _ATIF_PROBE_FAIL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ATIF_PROBE_FAIL@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_12:
	ldr	w9, [x23]
	bic	w8, w8, w9
	str	w8, [x19, #4]
	mov	w19, #1
LBB0_13:
Lloh35:
	adrp	x0, _aarp_lock@GOTPAGE
Lloh36:
	ldr	x0, [x0, _aarp_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_ARPHRD_LOCALTLK,8,3            ; @ARPHRD_LOCALTLK
	.comm	_ARPHRD_PPP,8,3                 ; @ARPHRD_PPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATIF_PROBE,4,2                 ; @ATIF_PROBE
	.comm	_aarp_lock,4,2                  ; @aarp_lock
	.comm	_AARP_HASH_SIZE,4,2             ; @AARP_HASH_SIZE
	.comm	_proxies,8,3                    ; @proxies
	.comm	_AARP_RETRANSMIT_LIMIT,4,2      ; @AARP_RETRANSMIT_LIMIT
	.comm	_ATIF_PROBE_FAIL,4,2            ; @ATIF_PROBE_FAIL
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
.subsections_via_symbols
