	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat64_check_prefix6            ## -- Begin function nat64_check_prefix6
	.p2align	4, 0x90
_nat64_check_prefix6:                   ## @nat64_check_prefix6
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_nat64_check_prefixlen
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	%r14, %rdi
	callq	_IN6_IS_ADDR_WKPFX
	cmpl	$96, %ebx
	je	LBB0_3
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_8
LBB0_3:
	movq	(%r14), %rax
	cmpq	$0, 64(%rax)
	jne	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_IN6_IS_ADDR_MULTICAST
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_IN6_IS_ADDR_LOOPBACK
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	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	_nat64_check_prefix6            ; -- Begin function nat64_check_prefix6
	.p2align	2
_nat64_check_prefix6:                   ; @nat64_check_prefix6
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_nat64_check_prefixlen
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_IN6_IS_ADDR_WKPFX
	cmp	w20, #96
	b.eq	LBB0_3
; %bb.2:
	cbnz	x0, LBB0_7
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8, #64]
	cbnz	x8, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_IN6_IS_ADDR_MULTICAST
	cbnz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_IN6_IS_ADDR_LOOPBACK
	cbz	x0, 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
