	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_netflow_newhook
_ng_netflow_newhook:                    ## @ng_netflow_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	%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	%rdx, %r12
	movq	%rsi, %r14
	callq	_NG_NODE_PRIVATE
	movq	%rax, %r15
	movq	_NG_NETFLOW_HOOK_DATA@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_NG_NETFLOW_HOOK_OUT@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	_NG_NETFLOW_HOOK_EXPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.3:
	movq	_NG_NETFLOW_HOOK_EXPORT9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_25
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_5:
	movl	(%r13), %edi
	callq	_strlen
	movslq	%eax, %rbx
	movsbl	(%r12,%rbx), %edi
	callq	_isdigit
	movq	_EINVAL@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	addq	%rbx, %r12
	cmpb	$48, (%r12)
	jne	LBB0_8
## %bb.7:
	cmpb	$0, 1(%r12)
	jne	LBB0_13
LBB0_8:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_13
## %bb.9:
	testl	%eax, %eax
	js	LBB0_13
## %bb.10:
	movq	_NG_NETFLOW_MAXIFACES@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_13
## %bb.11:
	movq	24(%r15), %r15
	cltq
	leaq	(%rax,%rax,2), %rbx
	cmpq	$0, 16(%r15,%rbx,8)
	jne	LBB0_12
## %bb.31:
	leaq	(%r15,%rbx,8), %r12
	addq	$16, %r12
	leaq	(%r15,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_NG_HOOK_SET_PRIVATE
	movq	%r14, (%r12)
	movq	_DLT_EN10MB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15,%rbx,8)
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_14:
	movl	(%r13), %edi
	callq	_strlen
	movslq	%eax, %rbx
	movsbl	(%r12,%rbx), %edi
	callq	_isdigit
	movq	_EINVAL@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	addq	%rbx, %r12
	cmpb	$48, (%r12)
	jne	LBB0_17
## %bb.16:
	cmpb	$0, 1(%r12)
	jne	LBB0_13
LBB0_17:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_13
## %bb.18:
	testl	%eax, %eax
	js	LBB0_13
## %bb.19:
	movq	_NG_NETFLOW_MAXIFACES@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_13
## %bb.20:
	movq	24(%r15), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_32
LBB0_12:
	movq	_EISCONN@GOTPCREL(%rip), %r13
LBB0_13:
	movl	(%r13), %eax
	jmp	LBB0_28
LBB0_22:
	cmpq	$0, 16(%r15)
	jne	LBB0_26
## %bb.23:
	movq	_CNTR_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_UINT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.24:
	movq	%r14, 16(%r15)
	jmp	LBB0_30
LBB0_25:
	cmpq	$0, 8(%r15)
	je	LBB0_29
LBB0_26:
	movq	_EISCONN@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	%r14, 8(%r15)
LBB0_30:
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ng_netflow_expire@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r15, %rcx
	callq	_callout_reset
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_32:
	leaq	(%rcx,%rax,8), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_NG_HOOK_SET_PRIVATE
	movq	%r14, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_NETFLOW_HOOK_DATA,4,2       ## @NG_NETFLOW_HOOK_DATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NG_NETFLOW_MAXIFACES,4,2       ## @NG_NETFLOW_MAXIFACES
	.comm	_EISCONN,4,2                    ## @EISCONN
	.comm	_DLT_EN10MB,4,2                 ## @DLT_EN10MB
	.comm	_NG_NETFLOW_HOOK_OUT,4,2        ## @NG_NETFLOW_HOOK_OUT
	.comm	_NG_NETFLOW_HOOK_EXPORT,4,2     ## @NG_NETFLOW_HOOK_EXPORT
	.comm	_CNTR_MAX,8,3                   ## @CNTR_MAX
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.comm	_hz,4,2                         ## @hz
	.comm	_ng_netflow_expire,4,2          ## @ng_netflow_expire
	.comm	_NG_NETFLOW_HOOK_EXPORT9,4,2    ## @NG_NETFLOW_HOOK_EXPORT9
	.no_dead_strip	_ng_netflow_newhook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_netflow_newhook
_ng_netflow_newhook:                    ; @ng_netflow_newhook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	bl	_NG_NODE_PRIVATE
	mov	x20, x0
Lloh0:
	adrp	x23, _NG_NETFLOW_HOOK_DATA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NG_NETFLOW_HOOK_DATA@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x23, _NG_NETFLOW_HOOK_OUT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NG_NETFLOW_HOOK_OUT@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_14
; %bb.2:
Lloh4:
	adrp	x8, _NG_NETFLOW_HOOK_EXPORT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NG_NETFLOW_HOOK_EXPORT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.3:
Lloh7:
	adrp	x8, _NG_NETFLOW_HOOK_EXPORT9@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NG_NETFLOW_HOOK_EXPORT9@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_25
; %bb.4:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_23
; %bb.5:
	str	x19, [x20, #8]
	b	LBB0_29
LBB0_6:
	ldr	w0, [x23]
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isdigit
	cbz	w0, LBB0_25
; %bb.7:
	ldrb	w8, [x21]
	cmp	w8, #48
	b.ne	LBB0_9
; %bb.8:
	ldrb	w8, [x21, #1]
	cbnz	w8, LBB0_25
LBB0_9:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	cbnz	w9, LBB0_26
; %bb.10:
	tbnz	w0, #31, LBB0_26
; %bb.11:
Lloh12:
	adrp	x9, _NG_NETFLOW_MAXIFACES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NG_NETFLOW_MAXIFACES@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w0
	b.le	LBB0_26
; %bb.12:
	ldr	x8, [x20, #24]
	mov	w9, #24
	smaddl	x21, w0, w9, x8
	ldr	x9, [x21, #16]!
	cbnz	x9, LBB0_23
; %bb.13:
	sxtw	x9, w0
	mov	w10, #24
	madd	x20, x9, x10, x8
	mov	x0, x19
	mov	x1, x20
	bl	_NG_HOOK_SET_PRIVATE
	mov	w0, #0
	str	x19, [x21]
Lloh15:
	adrp	x8, _DLT_EN10MB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DLT_EN10MB@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	b	LBB0_27
LBB0_14:
	ldr	w0, [x23]
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrsb	w0, [x21]
	bl	_isdigit
	cbz	w0, LBB0_25
; %bb.15:
	ldrb	w8, [x21]
	cmp	w8, #48
	b.ne	LBB0_17
; %bb.16:
	ldrb	w8, [x21, #1]
	cbnz	w8, LBB0_25
LBB0_17:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	cbnz	w9, LBB0_26
; %bb.18:
	tbnz	w0, #31, LBB0_26
; %bb.19:
Lloh20:
	adrp	x9, _NG_NETFLOW_MAXIFACES@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NG_NETFLOW_MAXIFACES@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w9, w0
	b.le	LBB0_26
; %bb.20:
	ldr	x8, [x20, #24]
	mov	w9, #24
	smaddl	x20, w0, w9, x8
	ldr	x8, [x20]
	cbnz	x8, LBB0_23
; %bb.21:
	mov	x0, x19
	mov	x1, x20
	bl	_NG_HOOK_SET_PRIVATE
	mov	w0, #0
	str	x19, [x20]
	b	LBB0_27
LBB0_22:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_24
LBB0_23:
Lloh23:
	adrp	x8, _EISCONN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EISCONN@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:
Lloh25:
	adrp	x8, _CNTR_MAX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CNTR_MAX@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _UINT64_MAX@GOTPAGE
Lloh29:
	ldr	x9, [x9, _UINT64_MAX@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
LBB0_25:
Lloh31:
	adrp	x8, _EINVAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x8]
LBB0_27:
	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
	add	sp, sp, #80
	ret
LBB0_28:
	str	x19, [x20, #16]
LBB0_29:
Lloh33:
	adrp	x8, _hz@GOTPAGE
Lloh34:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, _ng_netflow_expire@GOTPAGE
Lloh37:
	ldr	x2, [x2, _ng_netflow_expire@GOTPAGEOFF]
	mov	x0, x20
	mov	x3, x20
	bl	_callout_reset
	mov	w0, #0
	b	LBB0_27
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_NETFLOW_HOOK_DATA,4,2       ; @NG_NETFLOW_HOOK_DATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NG_NETFLOW_MAXIFACES,4,2       ; @NG_NETFLOW_MAXIFACES
	.comm	_EISCONN,4,2                    ; @EISCONN
	.comm	_DLT_EN10MB,4,2                 ; @DLT_EN10MB
	.comm	_NG_NETFLOW_HOOK_OUT,4,2        ; @NG_NETFLOW_HOOK_OUT
	.comm	_NG_NETFLOW_HOOK_EXPORT,4,2     ; @NG_NETFLOW_HOOK_EXPORT
	.comm	_CNTR_MAX,8,3                   ; @CNTR_MAX
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.comm	_hz,4,2                         ; @hz
	.comm	_ng_netflow_expire,4,2          ; @ng_netflow_expire
	.comm	_NG_NETFLOW_HOOK_EXPORT9,4,2    ; @NG_NETFLOW_HOOK_EXPORT9
	.no_dead_strip	_ng_netflow_newhook
.subsections_via_symbols
