	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cisco_newhook
_cisco_newhook:                         ## @cisco_newhook
	.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, %r12
	movq	%rsi, %r14
	movl	%edi, %ebx
	callq	_NG_NODE_PRIVATE
	movq	%rax, %r15
	movq	_NG_CISCO_HOOK_DOWNSTREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_NG_CISCO_HOOK_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	_NG_CISCO_HOOK_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_NG_CISCO_HOOK_APPLETALK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_NG_CISCO_HOOK_IPX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_NG_CISCO_HOOK_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_15
LBB0_1:
	leaq	40(%r15), %rsi
	movq	%r14, 40(%r15)
	movq	%r14, %rdi
	callq	_NG_HOOK_SET_PRIVATE
	movq	%r15, %rdi
	addq	$32, %rdi
	movq	_hz@GOTPCREL(%rip), %rax
	movq	_KEEPALIVE_SECS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	movl	$0, (%rsp)
	movq	_cisco_keepalive@GOTPCREL(%rip), %r8
	xorl	%r12d, %r12d
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%r15, %r9
	callq	_ng_callout
	jmp	LBB0_15
LBB0_3:
	movq	%r15, %rsi
	addq	$24, %rsi
	movq	%r14, 24(%r15)
	jmp	LBB0_4
LBB0_7:
	movq	%r15, %rsi
	addq	$16, %rsi
	movq	%r14, 16(%r15)
	jmp	LBB0_4
LBB0_9:
	movq	%r15, %rsi
	addq	$8, %rsi
	movq	%r14, 8(%r15)
LBB0_4:
	movq	%r14, %rdi
LBB0_5:
	callq	_NG_HOOK_SET_PRIVATE
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_5
LBB0_13:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_NG_HOOK_SET_PRIVATE
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_CISCO_HOOK_DOWNSTREAM,4,2   ## @NG_CISCO_HOOK_DOWNSTREAM
	.comm	_hz,4,2                         ## @hz
	.comm	_KEEPALIVE_SECS,4,2             ## @KEEPALIVE_SECS
	.comm	_cisco_keepalive,4,2            ## @cisco_keepalive
	.comm	_NG_CISCO_HOOK_INET,4,2         ## @NG_CISCO_HOOK_INET
	.comm	_NG_CISCO_HOOK_INET6,4,2        ## @NG_CISCO_HOOK_INET6
	.comm	_NG_CISCO_HOOK_APPLETALK,4,2    ## @NG_CISCO_HOOK_APPLETALK
	.comm	_NG_CISCO_HOOK_IPX,4,2          ## @NG_CISCO_HOOK_IPX
	.comm	_NG_CISCO_HOOK_DEBUG,4,2        ## @NG_CISCO_HOOK_DEBUG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cisco_newhook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cisco_newhook
_cisco_newhook:                         ; @cisco_newhook
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	bl	_NG_NODE_PRIVATE
	mov	x19, x0
Lloh0:
	adrp	x8, _NG_CISCO_HOOK_DOWNSTREAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_CISCO_HOOK_DOWNSTREAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _NG_CISCO_HOOK_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_CISCO_HOOK_INET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _NG_CISCO_HOOK_INET6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NG_CISCO_HOOK_INET6@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:
Lloh9:
	adrp	x8, _NG_CISCO_HOOK_APPLETALK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NG_CISCO_HOOK_APPLETALK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.4:
Lloh12:
	adrp	x8, _NG_CISCO_HOOK_IPX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NG_CISCO_HOOK_IPX@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.5:
Lloh15:
	adrp	x8, _NG_CISCO_HOOK_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NG_CISCO_HOOK_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.6:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_7:
	mov	x1, x19
	str	x20, [x1, #40]!
	mov	x0, x20
	bl	_NG_HOOK_SET_PRIVATE
Lloh21:
	adrp	x8, _hz@GOTPAGE
Lloh22:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
	add	x0, x19, #32
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _KEEPALIVE_SECS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _KEEPALIVE_SECS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	mul	w3, w9, w8
Lloh27:
	adrp	x4, _cisco_keepalive@GOTPAGE
Lloh28:
	ldr	x4, [x4, _cisco_keepalive@GOTPAGEOFF]
	mov	x1, x22
	mov	x2, #0
	mov	x5, x19
	mov	w6, #0
	bl	_ng_callout
	b	LBB0_14
LBB0_8:
	str	x20, [x19, #24]!
	b	LBB0_12
LBB0_9:
	str	x20, [x19, #16]!
	b	LBB0_12
LBB0_10:
	str	x20, [x19, #8]!
	b	LBB0_12
LBB0_11:
	str	x20, [x19]
LBB0_12:
	mov	x0, x20
	mov	x1, x19
LBB0_13:
	bl	_NG_HOOK_SET_PRIVATE
LBB0_14:
	mov	w0, #0
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
LBB0_16:
	mov	x0, x20
	mov	x1, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_CISCO_HOOK_DOWNSTREAM,4,2   ; @NG_CISCO_HOOK_DOWNSTREAM
	.comm	_hz,4,2                         ; @hz
	.comm	_KEEPALIVE_SECS,4,2             ; @KEEPALIVE_SECS
	.comm	_cisco_keepalive,4,2            ; @cisco_keepalive
	.comm	_NG_CISCO_HOOK_INET,4,2         ; @NG_CISCO_HOOK_INET
	.comm	_NG_CISCO_HOOK_INET6,4,2        ; @NG_CISCO_HOOK_INET6
	.comm	_NG_CISCO_HOOK_APPLETALK,4,2    ; @NG_CISCO_HOOK_APPLETALK
	.comm	_NG_CISCO_HOOK_IPX,4,2          ; @NG_CISCO_HOOK_IPX
	.comm	_NG_CISCO_HOOK_DEBUG,4,2        ; @NG_CISCO_HOOK_DEBUG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cisco_newhook
.subsections_via_symbols
