	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdisc_age                      ## -- Begin function rdisc_age
	.p2align	4, 0x90
_rdisc_age:                             ## @rdisc_age
	.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	_supplier@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_cur_drp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_rdisc_sort
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdisc_adv                      ## TAILCALL
LBB0_4:
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.5:
	movq	_MAX_ADS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_12
## %bb.6:
	movq	_drs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	shlq	$5, %rax
	addq	%rbx, %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, %rbx
	cmpq	%rax, %rbx
	jae	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r14, 8(%rbx)
	jne	LBB0_11
## %bb.9:
	movq	_now@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subq	16(%rbx), %r15
	movq	_SUPPLY_INTERVAL@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	cmpq	%r15, %rcx
	jle	LBB0_12
## %bb.10:
	movq	%r14, %rdi
	callq	_naddr_ntoa
	movq	24(%rbx), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_trace_act
	movq	%r15, (%rbx)
LBB0_12:
	xorl	%eax, %eax
	callq	_rdisc_sol
	xorl	%eax, %eax
	callq	_rdisc_sort
	testq	%r14, %r14
	jne	LBB0_14
## %bb.13:
	movq	_rip_sock@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jns	LBB0_14
## %bb.15:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_age                            ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_supplier,8,3                   ## @supplier
	.comm	_cur_drp,8,3                    ## @cur_drp
	.comm	_drs,8,3                        ## @drs
	.comm	_MAX_ADS,8,3                    ## @MAX_ADS
	.comm	_now,8,3                        ## @now
	.comm	_SUPPLY_INTERVAL,8,3            ## @SUPPLY_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"age 0.0.0.0 --> %s via %s"

	.comm	_rip_sock,8,3                   ## @rip_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdisc_age                      ; -- Begin function rdisc_age
	.p2align	2
_rdisc_age:                             ; @rdisc_age
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _supplier@GOTPAGE
Lloh1:
	ldr	x8, [x8, _supplier@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _cur_drp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cur_drp@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_rdisc_sort
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rdisc_adv
LBB0_4:
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.5:
Lloh6:
	adrp	x8, _MAX_ADS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_ADS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.6:
Lloh9:
	adrp	x9, _drs@GOTPAGE
Lloh10:
	ldr	x9, [x9, _drs@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x9]
	add	x8, x20, x8, lsl #5
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #32
	cmp	x20, x8
	b.hs	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cbz	x9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x20, #8]
	cmp	x10, x19
	b.ne	LBB0_7
; %bb.10:
Lloh12:
	adrp	x8, _now@GOTPAGE
Lloh13:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x10, [x20, #16]
Lloh15:
	adrp	x11, _SUPPLY_INTERVAL@GOTPAGE
Lloh16:
	ldr	x11, [x11, _SUPPLY_INTERVAL@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	sub	x8, x8, x10
	add	x21, x8, x11
	cmp	x9, x21
	b.le	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_naddr_ntoa
	mov	x1, x0
	ldr	x8, [x20, #24]
	ldr	w2, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trace_act
	str	x21, [x20]
LBB0_12:
	bl	_rdisc_sol
	bl	_rdisc_sort
	cbnz	x19, LBB0_15
; %bb.13:
Lloh20:
	adrp	x8, _rip_sock@GOTPAGE
Lloh21:
	ldr	x8, [x8, _rip_sock@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	tbz	x8, #63, LBB0_15
; %bb.14:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_age
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_supplier,8,3                   ; @supplier
	.comm	_cur_drp,8,3                    ; @cur_drp
	.comm	_drs,8,3                        ; @drs
	.comm	_MAX_ADS,8,3                    ; @MAX_ADS
	.comm	_now,8,3                        ; @now
	.comm	_SUPPLY_INTERVAL,8,3            ; @SUPPLY_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"age 0.0.0.0 --> %s via %s"

	.comm	_rip_sock,8,3                   ; @rip_sock
.subsections_via_symbols
