	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_check_nat64prefix         ## -- Begin function ipfw_check_nat64prefix
	.p2align	4, 0x90
_ipfw_check_nat64prefix:                ## @ipfw_check_nat64prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addl	$-32, %esi
	roll	$29, %esi
	cmpl	$5, %esi
	jae	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_WKPFX
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_4
LBB0_1:
	cmpl	$8, %esi
	jne	LBB0_2
LBB0_4:
	movq	(%rbx), %rax
	cmpl	$0, 32(%rax)
	jne	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_MULTICAST
	testl	%eax, %eax
	jne	LBB0_2
## %bb.6:
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testl	%eax, %eax
	jne	LBB0_2
## %bb.7:
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_LOOPBACK
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_check_nat64prefix         ; -- Begin function ipfw_check_nat64prefix
	.p2align	2
_ipfw_check_nat64prefix:                ; @ipfw_check_nat64prefix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	sub	w8, w1, #32
	ror	w8, w8, #3
	cmp	w8, #5
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_IN6_IS_ADDR_WKPFX
	cbnz	w0, LBB0_7
	b	LBB0_3
LBB0_2:
	cmp	w8, #8
	b.ne	LBB0_7
LBB0_3:
	ldr	x8, [x19]
	ldr	w8, [x8, #32]
	cbnz	w8, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_IN6_IS_ADDR_MULTICAST
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_IN6_IS_ADDR_LOOPBACK
	cbz	w0, LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
