	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat64clat_list
_nat64clat_list:                        ## @nat64clat_list
	.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
	cmpl	$11, (%rdx)
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_5
LBB0_2:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	movl	$12, %esi
	callq	_ipfw_get_sopt_header
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_IPFW_UH_RLOCK
	movq	%r14, %rdi
	callq	_CHAIN_TO_SRV
	movq	_IPFW_TLV_NAT64CLAT_NAME@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_ipfw_objhash_count_type
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	movl	$4, 4(%r15)
	leal	12(,%rax,4), %eax
	movl	%eax, 8(%r15)
	cmpl	%eax, (%rbx)
	jge	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	leaq	-56(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, -48(%rbp)
	movq	%rbx, -56(%rbp)
	movq	%r14, %rdi
	callq	_CHAIN_TO_SRV
	movq	_export_config_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %ecx
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_ipfw_objhash_foreach_type
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPFW_TLV_NAT64CLAT_NAME,4,2    ## @IPFW_TLV_NAT64CLAT_NAME
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_export_config_cb,4,2           ## @export_config_cb
	.no_dead_strip	_nat64clat_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat64clat_list
_nat64clat_list:                        ; @nat64clat_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x2]
	cmp	w8, #11
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
	mov	x20, x2
	mov	x19, x0
	mov	x0, x2
	mov	w1, #12
	bl	_ipfw_get_sopt_header
	mov	x21, x0
	mov	x0, x19
	bl	_IPFW_UH_RLOCK
	mov	x0, x19
	bl	_CHAIN_TO_SRV
Lloh3:
	adrp	x22, _IPFW_TLV_NAT64CLAT_NAME@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IPFW_TLV_NAT64CLAT_NAME@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_ipfw_objhash_count_type
	mov	w8, #4
	stp	w0, w8, [x21]
	lsl	w8, w0, #2
	add	w8, w8, #12
	str	w8, [x21, #8]
	ldr	w9, [x20]
	cmp	w9, w8
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	stp	x20, x19, [sp]
	mov	x0, x19
	bl	_CHAIN_TO_SRV
Lloh8:
	adrp	x8, _export_config_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _export_config_cb@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x2, sp
	bl	_ipfw_objhash_foreach_type
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPFW_TLV_NAT64CLAT_NAME,4,2    ; @IPFW_TLV_NAT64CLAT_NAME
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_export_config_cb,4,2           ; @export_config_cb
	.no_dead_strip	_nat64clat_list
.subsections_via_symbols
