	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_nat64lsn                  ## -- Begin function ipfw_nat64lsn
	.p2align	4, 0x90
_ipfw_nat64lsn:                         ## @ipfw_nat64lsn
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_IPFW_RLOCK_ASSERT
	movl	$0, (%r15)
	movq	(%rbx), %rax
	movq	_O_EXTERNAL_ACTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	_V_nat64lsn_eid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	addq	$16, %rbx
	movq	(%rbx), %rax
	movq	_O_EXTERNAL_INSTANCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_NAT64_LOOKUP
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	$1, (%r15)
	leaq	8(%r12), %r15
	movl	8(%r12), %eax
	cmpl	$6, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$4, %eax
	jne	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_nat64lsn_translate4
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_4:
	movq	_IP_FW_DENY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_NAT64LSN_ANYPREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_nat64lsn_translate6
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_9:
	leaq	12(%r12), %rdi
	movq	%r14, %rsi
	addq	$12, %rsi
	movl	8(%r14), %eax
	leal	7(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movl	(%r14), %ebx
LBB0_12:
	movq	_IP_FW_PASS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_15
## %bb.13:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_m_freem
	movq	$0, (%r12)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_O_EXTERNAL_ACTION,8,3          ## @O_EXTERNAL_ACTION
	.comm	_V_nat64lsn_eid,8,3             ## @V_nat64lsn_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ## @O_EXTERNAL_INSTANCE
	.comm	_IP_FW_DENY,4,2                 ## @IP_FW_DENY
	.comm	_NAT64LSN_ANYPREFIX,4,2         ## @NAT64LSN_ANYPREFIX
	.comm	_IP_FW_PASS,4,2                 ## @IP_FW_PASS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_nat64lsn                  ; -- Begin function ipfw_nat64lsn
	.p2align	2
_ipfw_nat64lsn:                         ; @ipfw_nat64lsn
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_IPFW_RLOCK_ASSERT
	str	wzr, [x21]
	mov	x1, x22
	ldr	x8, [x1], #16
Lloh0:
	adrp	x9, _O_EXTERNAL_ACTION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _O_EXTERNAL_ACTION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _V_nat64lsn_eid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_nat64lsn_eid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x1]
Lloh6:
	adrp	x9, _O_EXTERNAL_INSTANCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_EXTERNAL_INSTANCE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_NAT64_LOOKUP
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	mov	w8, #1
	str	w8, [x21]
	mov	x21, x19
	ldr	w8, [x21, #8]!
	cmp	w8, #6
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #4
	b.ne	LBB0_12
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_nat64lsn_translate4
	mov	x20, x0
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _IP_FW_DENY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IP_FW_DENY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_8:
	mov	x0, x20
	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
	ret
LBB0_9:
	ldr	w8, [x20, #4]
Lloh12:
	adrp	x9, _NAT64LSN_ANYPREFIX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NAT64LSN_ANYPREFIX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_10:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_nat64lsn_translate6
	mov	x20, x0
	b	LBB0_13
LBB0_11:
	add	x0, x19, #12
	add	x1, x20, #12
	ldr	w8, [x20, #8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w2, w8, #3
	bl	_memcmp
	cbz	w0, LBB0_10
LBB0_12:
	ldr	w20, [x20]
LBB0_13:
Lloh15:
	adrp	x8, _IP_FW_PASS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IP_FW_PASS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_8
; %bb.14:
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.15:
	bl	_m_freem
	str	xzr, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_O_EXTERNAL_ACTION,8,3          ; @O_EXTERNAL_ACTION
	.comm	_V_nat64lsn_eid,8,3             ; @V_nat64lsn_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ; @O_EXTERNAL_INSTANCE
	.comm	_IP_FW_DENY,4,2                 ; @IP_FW_DENY
	.comm	_NAT64LSN_ANYPREFIX,4,2         ; @NAT64LSN_ANYPREFIX
	.comm	_IP_FW_PASS,4,2                 ; @IP_FW_PASS
.subsections_via_symbols
