	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfsync_state_export            ## -- Begin function pfsync_state_export
	.p2align	4, 0x90
_pfsync_state_export:                   ## @pfsync_state_export
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	$120, %esi
	callq	_bzero
	movq	112(%r14), %r8
	movq	_PF_SK_WIRE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%r8,%rdx,8), %r10
	movq	16(%r10), %rsi
	movl	(%rsi), %r9d
	movq	112(%rbx), %rcx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rdi
	movl	%r9d, (%rdi)
	movl	4(%rsi), %esi
	movl	%esi, 4(%rdi)
	movq	8(%r10), %rsi
	movl	(%rsi), %edi
	movq	(%rcx,%rdx), %rdx
	movl	%edi, (%rdx)
	movl	4(%rsi), %esi
	movl	%esi, 4(%rdx)
	movq	_PF_SK_STACK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%r8,%rdx,8), %rsi
	movq	16(%rsi), %rdi
	movl	(%rdi), %r8d
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rax
	movl	%r8d, (%rax)
	movl	4(%rdi), %edi
	movl	%edi, 4(%rax)
	movq	8(%rsi), %rax
	movl	(%rax), %esi
	movq	(%rcx,%rdx), %rcx
	movl	%esi, (%rcx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	4(%r10), %eax
	movl	%eax, 108(%rbx)
	movl	(%r10), %eax
	movl	%eax, 104(%rbx)
	movl	100(%rbx), %edi
	movq	104(%r14), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	96(%r14), %eax
	movl	%eax, 96(%rbx)
	movq	_time_uptime@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	subl	(%r14), %edi
	callq	_htonl
	movq	%rax, 88(%rbx)
	movq	%r14, %rdi
	callq	_pf_state_expires
	movq	%rax, (%rbx)
	movq	(%r15), %rcx
	movl	%eax, %edx
	subl	%ecx, %edx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	cmovgl	%edx, %edi
	callq	_htonl
	movq	%rax, (%rbx)
	movups	80(%r14), %xmm0
	movups	%xmm0, 68(%rbx)
	cmpq	$0, 72(%r14)
	je	LBB0_2
## %bb.1:
	movq	_PFSYNC_FLAG_SRCNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_2:
	cmpq	$0, 64(%r14)
	je	LBB0_4
## %bb.3:
	movq	_PFSYNC_FLAG_NATSRCNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_4:
	movl	60(%r14), %eax
	movl	%eax, 60(%rbx)
	movl	56(%r14), %eax
	movl	%eax, 56(%rbx)
	leaq	52(%r14), %rdi
	leaq	52(%rbx), %rsi
	callq	_pf_state_peer_hton
	leaq	48(%r14), %rdi
	leaq	48(%rbx), %rsi
	callq	_pf_state_peer_hton
	movq	40(%r14), %rax
	movl	$-1, %r15d
	movl	$-1, %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rax), %edi
LBB0_6:
	callq	_htonl
	movq	%rax, 40(%rbx)
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %edi
	callq	_htonl
	movq	%rax, 32(%rbx)
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%rax), %edi
	jmp	LBB0_11
LBB0_9:
	movl	$-1, %edi
LBB0_11:
	callq	_htonl
	movq	%rax, 24(%rbx)
	movq	16(%r14), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	_pf_state_counter_hton
	movq	16(%r14), %rax
	movl	4(%rax), %edi
	movq	16(%rbx), %rax
	movl	4(%rax), %esi
	callq	_pf_state_counter_hton
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	callq	_pf_state_counter_hton
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pf_state_counter_hton          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_SK_WIRE,8,3                 ## @PF_SK_WIRE
	.comm	_PF_SK_STACK,8,3                ## @PF_SK_STACK
	.comm	_time_uptime,8,3                ## @time_uptime
	.comm	_PFSYNC_FLAG_SRCNODE,4,2        ## @PFSYNC_FLAG_SRCNODE
	.comm	_PFSYNC_FLAG_NATSRCNODE,4,2     ## @PFSYNC_FLAG_NATSRCNODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfsync_state_export            ; -- Begin function pfsync_state_export
	.p2align	2
_pfsync_state_export:                   ; @pfsync_state_export
	.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	x20, x1
	mov	x19, x0
	mov	w1, #120
	bl	_bzero
Lloh0:
	adrp	x8, _PF_SK_WIRE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_SK_WIRE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x10, x9, [x20, #104]
	ldr	x11, [x9, x8, lsl #3]
	ldp	x13, x12, [x11, #8]
	ldr	w14, [x12]
	ldr	x15, [x19, #112]
	add	x8, x15, x8, lsl #4
	ldp	x8, x16, [x8]
	str	w14, [x16]
	ldr	w12, [x12, #4]
	str	w12, [x16, #4]
	ldr	w12, [x13]
	str	w12, [x8]
	ldr	w12, [x13, #4]
Lloh3:
	adrp	x13, _PF_SK_STACK@GOTPAGE
Lloh4:
	ldr	x13, [x13, _PF_SK_STACK@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x13]
	ldr	x9, [x9, x13, lsl #3]
	str	w12, [x8, #4]
	ldp	x9, x8, [x9, #8]
	ldr	w12, [x8]
	add	x13, x15, x13, lsl #4
	ldp	x13, x14, [x13]
	str	w12, [x14]
	ldr	w8, [x8, #4]
	str	w8, [x14, #4]
	ldr	w8, [x9]
	str	w8, [x13]
	ldr	w8, [x9, #4]
	str	w8, [x13, #4]
	ldr	d0, [x11]
	str	d0, [x19, #104]
	ldr	w0, [x19, #100]
	ldr	w1, [x10]
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x20, #96]
	str	w8, [x19, #96]
Lloh6:
	adrp	x21, _time_uptime@GOTPAGE
Lloh7:
	ldr	x21, [x21, _time_uptime@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x20]
	sub	w0, w8, w9
	bl	_htonl
	str	x0, [x19, #88]
	mov	x0, x20
	bl	_pf_state_expires
	str	x0, [x19]
	ldr	x8, [x21]
	sub	w9, w0, w8
	cmp	x0, x8
	csel	w0, w9, wzr, gt
	bl	_htonl
	str	x0, [x19]
	ldr	q0, [x20, #80]
	stur	q0, [x19, #68]
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _PFSYNC_FLAG_SRCNODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PFSYNC_FLAG_SRCNODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #64]
	orr	w8, w9, w8
	str	w8, [x19, #64]
LBB0_2:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _PFSYNC_FLAG_NATSRCNODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PFSYNC_FLAG_NATSRCNODE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #64]
	orr	w8, w9, w8
	str	w8, [x19, #64]
LBB0_4:
	ldr	d0, [x20, #56]
	str	d0, [x19, #56]
	add	x0, x20, #52
	add	x1, x19, #52
	bl	_pf_state_peer_hton
	add	x0, x20, #48
	add	x1, x19, #48
	bl	_pf_state_peer_hton
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	bl	_htonl
	str	x0, [x19, #40]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	bl	_htonl
	str	x0, [x19, #32]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_12:
	mov	w0, #-1
LBB0_13:
	bl	_htonl
	str	x0, [x19, #24]
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_pf_state_counter_hton
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #4]
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #4]
	bl	_pf_state_counter_hton
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	bl	_pf_state_counter_hton
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	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	_pf_state_counter_hton
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_SK_WIRE,8,3                 ; @PF_SK_WIRE
	.comm	_PF_SK_STACK,8,3                ; @PF_SK_STACK
	.comm	_time_uptime,8,3                ; @time_uptime
	.comm	_PFSYNC_FLAG_SRCNODE,4,2        ; @PFSYNC_FLAG_SRCNODE
	.comm	_PFSYNC_FLAG_NATSRCNODE,4,2     ; @PFSYNC_FLAG_NATSRCNODE
.subsections_via_symbols
