	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_export9_add                    ## -- Begin function export9_add
	.p2align	4, 0x90
_export9_add:                           ## @export9_add
	.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
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_NGI_M
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movl	8(%rbx), %edx
	cmpl	$129, %edx
	jne	LBB0_11
## %bb.2:
	movq	%rax, %r14
	movl	32(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	72(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	64(%rbx), %rdi
	callq	_htons
	movq	%rax, -64(%rbp)
	movq	56(%rbx), %rdi
	callq	_htons
	movq	%rax, -72(%rbp)
	movl	52(%rbx), %edi
	callq	_htonl
	movq	%rax, -80(%rbp)
	movl	48(%rbx), %edi
	callq	_htonl
	movq	%rax, -88(%rbp)
	xorl	%edi, %edi
	callq	_htonl
	movq	%rax, -96(%rbp)
	xorl	%edi, %edi
	callq	_htonl
	movq	%rax, -104(%rbp)
	movl	44(%rbx), %edi
	callq	_MILLIUPTIME
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, -112(%rbp)
	movl	40(%rbx), %edi
	callq	_MILLIUPTIME
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, -120(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -128(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -132(%rbp)
	movl	36(%rbx), %eax
	movl	%eax, -136(%rbp)
	movsd	12(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	(%rbx), %xmm1                   ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, -152(%rbp)
	movq	$0, -160(%rbp)
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_close_flowset
LBB0_5:
	movl	$129, (%r15)
	movq	%r14, %rdi
	callq	_m_pktlen
	movq	%rax, 16(%r15)
	movq	_NETFLOW_V9_MAX_RESERVED_FLOWSET@GOTPCREL(%rip), %rax
	movl	$129, %edi
	addq	(%rax), %rdi
	callq	_htons
	movq	%rax, -32(%rbp)
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rdx
	movl	$16, %esi
	movq	%r14, %rdi
	callq	_m_append
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_7:
	leaq	-280(%rbp), %rdx
	movl	$120, %esi
	movq	%r14, %rdi
	callq	_m_append
	cmpl	$1, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_9:
	incl	8(%r15)
	movq	%r14, %rdi
	callq	_m_pktlen
	movq	%rax, %rbx
	addq	$256, %rbx                      ## imm = 0x100
	movl	4(%r15), %edi
	callq	__NETFLOW_V9_MAX_SIZE
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	setae	%al
	jmp	LBB0_13
LBB0_10:
	movq	_KTR_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_CTR0
	jmp	LBB0_12
LBB0_11:
	movq	_KTR_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_CTR1
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTR_NET,4,2                    ## @KTR_NET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ng_netflow: V9 export packet without tag!"

L_.str.1:                               ## @.str.1
	.asciz	"export9_add(): Don't know what to do with %d flow type!"

	.comm	_NETFLOW_V9_MAX_RESERVED_FLOWSET,8,3 ## @NETFLOW_V9_MAX_RESERVED_FLOWSET
L_.str.2:                               ## @.str.2
	.asciz	"ng_netflow: m_append() failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_export9_add                    ; -- Begin function export9_add
	.p2align	2
_export9_add:                           ; @export9_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x21, x2
	mov	x19, x1
	bl	_NGI_M
	cbz	x19, LBB0_10
; %bb.1:
	ldr	w2, [x21, #8]
	cmp	w2, #129
	b.ne	LBB0_11
; %bb.2:
	mov	x20, x0
	mov	x22, sp
	ldur	d0, [x21, #28]
	stur	d0, [x22, #228]
	ldr	w8, [x21, #72]
	str	w8, [sp, #224]
	ldr	x0, [x21, #64]
	bl	_htons
	str	x0, [sp, #216]
	ldr	x0, [x21, #56]
	bl	_htons
	str	x0, [sp, #208]
	ldr	w0, [x21, #52]
	bl	_htonl
	str	x0, [sp, #200]
	ldr	w0, [x21, #48]
	bl	_htonl
	str	x0, [sp, #192]
	mov	w0, #0
	bl	_htonl
	str	x0, [sp, #184]
	mov	w0, #0
	bl	_htonl
	str	x0, [sp, #176]
	ldr	w0, [x21, #44]
	bl	_MILLIUPTIME
	bl	_htonl
	str	x0, [sp, #168]
	ldr	w0, [x21, #40]
	bl	_MILLIUPTIME
	bl	_htonl
	str	x0, [sp, #160]
	ldur	d0, [x21, #20]
	stur	d0, [x22, #148]
	ldr	w8, [x21, #36]
	str	w8, [sp, #144]
	ldur	d0, [x21, #12]
	ldr	d1, [x21]
	mov.d	v1[1], v0[0]
	str	q1, [sp, #128]
	str	xzr, [sp, #120]
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_close_flowset
LBB0_5:
	mov	w8, #129
	str	w8, [x19]
	mov	x0, x20
	bl	_m_pktlen
	str	x0, [x19, #16]
Lloh0:
	adrp	x8, _NETFLOW_V9_MAX_RESERVED_FLOWSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETFLOW_V9_MAX_RESERVED_FLOWSET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, #129
	bl	_htons
	stp	xzr, x0, [x29, #-64]
	sub	x2, x29, #64
	mov	x0, x20
	mov	w1, #16
	bl	_m_append
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_7:
	mov	x2, sp
	mov	x0, x20
	mov	w1, #120
	bl	_m_append
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.8:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_9:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_m_pktlen
	add	x20, x0, #256
	ldr	w0, [x19, #4]
	bl	__NETFLOW_V9_MAX_SIZE
	cmp	x20, x0
	cset	w0, hs
	b	LBB0_13
LBB0_10:
Lloh7:
	adrp	x8, _KTR_NET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KTR_NET@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_CTR0
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _KTR_NET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KTR_NET@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_CTR1
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_KTR_NET,4,2                    ; @KTR_NET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ng_netflow: V9 export packet without tag!"

l_.str.1:                               ; @.str.1
	.asciz	"export9_add(): Don't know what to do with %d flow type!"

	.comm	_NETFLOW_V9_MAX_RESERVED_FLOWSET,8,3 ; @NETFLOW_V9_MAX_RESERVED_FLOWSET
l_.str.2:                               ; @.str.2
	.asciz	"ng_netflow: m_append() failed"

.subsections_via_symbols
