	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat64lsn_export_states_v1
_nat64lsn_export_states_v1:             ## @nat64lsn_export_states_v1
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rsi), %esi
	cmpl	(%rdx), %esi
	jge	LBB0_10
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rdx, %rdi
	callq	_FREEMASK_COPY
	callq	_bitcount64
	movl	%eax, %r12d
	xorl	%eax, %eax
	subl	$64, %r12d
	je	LBB0_14
## %bb.2:
	negl	%r12d
	movq	_DP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_DPRINTF
	leal	(,%r12,8), %eax
	leal	(%rax,%rax,4), %esi
	movq	%rbx, %rdi
	callq	_ipfw_get_sopt_space
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$32, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r13), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %r15
	movq	(%r15,%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	-8(%r15,%r12), %edi
	callq	_htonl
	movl	%eax, 28(%rbx)
	movl	-12(%r15,%r12), %eax
	movl	%eax, 24(%rbx)
	movl	-16(%r15,%r12), %eax
	movl	%eax, 20(%rbx)
	movl	-20(%r15,%r12), %eax
	movl	%eax, 16(%rbx)
	movl	-32(%r15,%r12), %eax
	andl	$7, %eax
	movq	%rax, 8(%rbx)
	movl	-24(%r15,%r12), %eax
	movl	%eax, 4(%rbx)
	movl	-28(%r15,%r12), %edi
	callq	_GET_AGE
	movl	%eax, (%rbx)
	addq	$40, %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	addq	$40, %r12
	cmpq	$64, %r14
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %esi
	callq	_ISSET64
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1, (%r13)
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DP_STATE,4,2                   ## @DP_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EXPORT PG 0x%16jx, count %d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_nat64lsn_export_states_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat64lsn_export_states_v1
_nat64lsn_export_states_v1:             ; @nat64lsn_export_states_v1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	ldr	w1, [x1]
	ldr	w8, [x2]
	cmp	w1, w8
	b.ge	LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x0, x2
	bl	_FREEMASK_COPY
	bl	_bitcount64
	cmp	w0, #64
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #0
	b	LBB0_14
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_5:
	mov	w8, #64
	sub	w22, w8, w0
Lloh2:
	adrp	x8, _DP_STATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_STATE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	_DPRINTF
	add	w8, w22, w22, lsl #2
	lsl	w1, w8, #3
	mov	x0, x23
	bl	_ipfw_get_sopt_space
	cbz	x0, LBB0_15
; %bb.6:
	mov	x23, x0
	mov	w24, #0
	mov	x25, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldrsw	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8]
	add	x26, x8, x25
	ldr	x8, [x26, #32]
	ldr	w8, [x8]
	str	w8, [x23, #32]
	ldr	w0, [x26, #24]
	bl	_htonl
	ldr	w8, [x26, #20]
	stp	w8, w0, [x23, #24]
	ldur	d0, [x26, #12]
	str	d0, [x23, #16]
	ldp	w8, w0, [x26]
	and	x8, x8, #0x7
	str	x8, [x23, #8]
	ldr	w8, [x26, #8]
	str	w8, [x23, #4]
	bl	_GET_AGE
	str	w0, [x23], #40
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x25, x25, #40
	add	w24, w24, #1
	cmp	x25, #2560
	b.eq	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, x24
	bl	_ISSET64
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #16]
	b	LBB0_8
LBB0_13:
	mov	w0, #0
	str	w22, [x19]
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DP_STATE,4,2                   ; @DP_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EXPORT PG 0x%16jx, count %d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_nat64lsn_export_states_v1
.subsections_via_symbols
