	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function forward_register
_forward_register:                      ## @forward_register
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	_FINFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ebx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_time
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, _forward_register.lastxid(%rip)
	movq	_NFORWARD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	je	LBB0_1
## %bb.2:
	testl	%eax, %eax
	jg	LBB0_3
	jmp	LBB0_18
LBB0_1:
	movl	%eax, %ecx
	imull	-56(%rbp), %ecx                 ## 4-byte Folded Reload
	movslq	%ecx, %rcx
	movq	%rcx, _forward_register.lastxid(%rip)
	testl	%eax, %eax
	jle	LBB0_18
LBB0_3:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$-1, %r15d
	movq	_FINFO_ACTIVE@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_FINFO@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %r15d
	je	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	(%rsi), %rax
	addq	$64, %r13
	cmpq	%rax, %r12
	jge	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	movl	(%r14), %ecx
	testl	%ecx, 4(%rax,%r13)
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, 8(%rax,%r13)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, 16(%rax,%r13)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, 24(%rax,%r13)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%rax,%r13), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_netbufcmp
	testl	%eax, %eax
	je	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_FINFO@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	_NFORWARD@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	subl	(%rax,%r13), %ecx
	movq	_MAXTIME_OFF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edi
	callq	_free_slot_by_index
	movq	_NFORWARD@GOTPCREL(%rip), %rsi
	movq	_FINFO@GOTPCREL(%rip), %rdx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rax
	movl	(%r14), %ecx
	testl	%ecx, 4(%rax,%r13)
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax,%r13), %eax
	cmpl	%ebx, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmovll	%r12d, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmovll	%eax, %ebx
	movl	$-1, %r15d
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %r15d
	jmp	LBB0_16
LBB0_17:
	cmpl	$-1, %r15d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_19
LBB0_18:
	movl	%r13d, %edi
	callq	_free_slot_by_index
	movl	%r13d, %r15d
LBB0_19:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_netbufdup
	movq	_FINFO@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movslq	%r15d, %rdx
	movq	%rdx, %rcx
	shlq	$6, %rcx
	movq	%rax, 56(%rsi,%rcx)
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	_rpcb_rmtcalls@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	16(%rbp), %rax
	movq	_FINFO_ACTIVE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	(%rbx), %rdi
	movl	%esi, 4(%rdi,%rcx)
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 16(%rdi,%rcx)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 24(%rdi,%rcx)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, (%rdi,%rcx)
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 8(%rdi,%rcx)
	movl	%r12d, 32(%rdi,%rcx)
	movq	%r14, 40(%rdi,%rcx)
	movq	_NFORWARD@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movq	_forward_register.lastxid(%rip), %rdi
	addq	%rsi, %rdi
	testq	%rdi, %rdi
	cmovleq	%rsi, %rdi
	movq	%rdi, _forward_register.lastxid(%rip)
	addq	%rdx, %rdi
	movq	(%rbx), %rdx
	movq	%rdi, 48(%rdx,%rcx)
	movq	%rdi, (%rax)
	movl	$1, %ebx
	jmp	LBB0_22
LBB0_20:
	movl	$-1, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_time
	movq	_FINFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r13)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_forward_register.lastxid,8,3 ## @forward_register.lastxid
	.comm	_FINFO,8,3                      ## @FINFO
	.comm	_NFORWARD,4,2                   ## @NFORWARD
	.comm	_FINFO_ACTIVE,4,2               ## @FINFO_ACTIVE
	.comm	_MAXTIME_OFF,4,2                ## @MAXTIME_OFF
	.comm	_rpcb_rmtcalls,4,2              ## @rpcb_rmtcalls
	.no_dead_strip	_forward_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function forward_register
_forward_register:                      ; @forward_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x6
	stp	x5, x4, [sp, #32]               ; 16-byte Folded Spill
	mov	x28, x3
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	x24, x0
Lloh0:
	adrp	x19, _FINFO@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FINFO@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w26, [x8]
	mov	x0, #0
	bl	_time
	mov	x25, x0
	adrp	x10, _forward_register.lastxid@PAGE
	ldr	x9, [x10, _forward_register.lastxid@PAGEOFF]
Lloh2:
	adrp	x22, _NFORWARD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NFORWARD@GOTPAGEOFF]
	ldr	w8, [x22]
	cbnz	x9, LBB0_2
; %bb.1:
	mul	w9, w8, w25
	sxtw	x9, w9
	str	x9, [x10, _forward_register.lastxid@PAGEOFF]
LBB0_2:
Lloh4:
	adrp	x20, _FINFO_ACTIVE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _FINFO_ACTIVE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.3:
	stp	x28, x23, [sp]                  ; 16-byte Folded Spill
	mov	x23, #0
	mov	x28, #0
	mov	w27, #0
	mov	w21, #-1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmn	w21, #1
	b.eq	LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x22]
	add	x23, x23, #64
	cmp	x28, x8
	b.ge	LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x8, x23
	ldr	w10, [x9, #4]
	ldr	w11, [x20]
	tst	w11, w10
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9, #8]
	cmp	x9, x24
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x8, x23
	ldr	x10, [x9, #16]
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9, #24]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x23
	ldr	x0, [x8, #56]
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_netbufcmp
	cbz	w0, LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8, x23]
Lloh6:
	adrp	x9, _MAXTIME_OFF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAXTIME_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w8, w25, w8
	cmp	w8, w9
	b.le	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_free_slot_by_index
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	add	x9, x8, x23
	ldr	w9, [x9, #4]
	ldr	w10, [x20]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8, x23]
	cmp	w8, w26
	csel	w27, w28, w27, lt
	csel	w26, w8, w26, lt
	mov	w21, #-1
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x28
	b	LBB0_5
LBB0_17:
	cmn	w21, #1
	ldp	x28, x23, [sp]                  ; 16-byte Folded Reload
	b.ne	LBB0_20
	b	LBB0_19
LBB0_18:
	mov	w27, #0
LBB0_19:
	mov	x0, x27
	bl	_free_slot_by_index
	mov	x21, x27
LBB0_20:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_netbufdup
	ldr	x9, [x19]
	sxtw	x8, w21
	add	x9, x9, x8, lsl #6
	str	x0, [x9, #56]
	cbz	x0, LBB0_22
; %bb.21:
Lloh9:
	adrp	x9, _rpcb_rmtcalls@GOTPAGE
Lloh10:
	ldr	x9, [x9, _rpcb_rmtcalls@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	ldr	w9, [x20]
	ldr	x10, [x19]
	lsl	x11, x8, #6
	add	x10, x10, x11
	ldr	x12, [sp, #32]                  ; 8-byte Folded Reload
	stp	w25, w9, [x10]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	stp	x9, x12, [x10, #16]
	str	x24, [x10, #8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	str	w9, [x10, #32]
	str	x28, [x10, #40]
	adrp	x12, _forward_register.lastxid@PAGE
	ldr	x9, [x12, _forward_register.lastxid@PAGEOFF]
	ldrsw	x10, [x22]
	add	x9, x9, x10
	cmp	x9, #0
	csel	x9, x9, x10, gt
	str	x9, [x12, _forward_register.lastxid@PAGEOFF]
	add	x8, x9, x8
	ldr	x9, [x19]
	add	x9, x9, x11
	str	x8, [x9, #48]
	str	x8, [x23]
	mov	w0, #1
	b	LBB0_23
LBB0_22:
	mov	w0, #-1
LBB0_23:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
	mov	x0, #0
	bl	_time
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19]
	str	w8, [x9, x23]
	b	LBB0_23
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_forward_register.lastxid,8,3 ; @forward_register.lastxid
	.comm	_FINFO,8,3                      ; @FINFO
	.comm	_NFORWARD,4,2                   ; @NFORWARD
	.comm	_FINFO_ACTIVE,4,2               ; @FINFO_ACTIVE
	.comm	_MAXTIME_OFF,4,2                ; @MAXTIME_OFF
	.comm	_rpcb_rmtcalls,4,2              ; @rpcb_rmtcalls
	.no_dead_strip	_forward_register
.subsections_via_symbols
