	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_nat64stl                  ## -- Begin function ipfw_nat64stl
	.p2align	4, 0x90
_ipfw_nat64stl:                         ## @ipfw_nat64stl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_IPFW_RLOCK_ASSERT
	movl	$0, (%r12)
	movq	(%rbx), %rax
	movq	_O_EXTERNAL_ACTION@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.1:
	movq	8(%rbx), %rax
	movq	_V_nat64stl_eid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.2:
	addq	$16, %rbx
	movq	(%rbx), %rax
	movq	_O_EXTERNAL_INSTANCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_NAT64_LOOKUP
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%rax, %rbx
	movl	8(%r14), %eax
	cmpl	$6, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$4, %eax
	jne	LBB0_18
## %bb.6:
	movl	28(%r14), %edi
	callq	_htonl
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %esi
	leaq	-48(%rbp), %rcx
	jmp	LBB0_8
LBB0_7:
	movl	(%rbx), %esi
	leaq	24(%r14), %rcx
LBB0_8:
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_ipfw_lookup_table
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:
	cmpl	$4, 8(%r14)
	movq	(%r14), %rdx
	movl	-44(%rbp), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	jne	LBB0_13
## %bb.12:
	callq	_nat64stl_handle_ip4
	jmp	LBB0_14
LBB0_9:
	movq	16(%r14), %rax
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.10:
	movq	(%r14), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_nat64stl_handle_icmp6
	jmp	LBB0_14
LBB0_13:
	callq	_nat64stl_handle_ip6
LBB0_14:
	movq	_NAT64SKIP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.15:
	movl	$1, (%r12)
	movq	_NAT64MFREE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movq	(%r14), %rdi
	callq	_m_freem
LBB0_17:
	movq	$0, (%r14)
	movq	_IP_FW_NAT64@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_EXTERNAL_ACTION,8,3          ## @O_EXTERNAL_ACTION
	.comm	_V_nat64stl_eid,8,3             ## @V_nat64stl_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ## @O_EXTERNAL_INSTANCE
	.comm	_IPPROTO_ICMPV6,8,3             ## @IPPROTO_ICMPV6
	.comm	_NAT64SKIP,4,2                  ## @NAT64SKIP
	.comm	_NAT64MFREE,4,2                 ## @NAT64MFREE
	.comm	_IP_FW_NAT64,4,2                ## @IP_FW_NAT64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_nat64stl                  ; -- Begin function ipfw_nat64stl
	.p2align	2
_ipfw_nat64stl:                         ; @ipfw_nat64stl
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_IPFW_RLOCK_ASSERT
	mov	w0, #0
	str	wzr, [x20]
	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_16
; %bb.1:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _V_nat64stl_eid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_nat64stl_eid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %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_15
; %bb.3:
	mov	x0, x21
	bl	_NAT64_LOOKUP
	cbz	x0, LBB0_16
; %bb.4:
	mov	x22, x0
	ldr	w8, [x19, #8]
	cmp	w8, #6
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #4
	b.ne	LBB0_15
; %bb.6:
	ldr	w0, [x19, #28]
	bl	_htonl
	str	w0, [sp, #12]
	ldr	w1, [x22, #4]
	add	x3, sp, #12
	b	LBB0_8
LBB0_7:
	ldr	w1, [x22]
	add	x3, x19, #24
LBB0_8:
	add	x4, sp, #8
	mov	x0, x21
	mov	w2, #4
	bl	_ipfw_lookup_table
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w8, [x19, #8]
	ldr	x2, [x19]
	ldr	w3, [sp, #8]
	mov	x0, x21
	mov	x1, x22
	cmp	w8, #4
	b.ne	LBB0_13
; %bb.10:
	bl	_nat64stl_handle_ip4
	b	LBB0_14
LBB0_11:
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x9, _IPPROTO_ICMPV6@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.12:
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_nat64stl_handle_icmp6
	b	LBB0_14
LBB0_13:
	bl	_nat64stl_handle_ip6
LBB0_14:
Lloh12:
	adrp	x8, _NAT64SKIP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NAT64SKIP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_17
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
LBB0_17:
	mov	w8, #1
	str	w8, [x20]
Lloh15:
	adrp	x8, _NAT64MFREE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NAT64MFREE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.18:
	ldr	x0, [x19]
	bl	_m_freem
LBB0_19:
	str	xzr, [x19]
Lloh18:
	adrp	x8, _IP_FW_NAT64@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IP_FW_NAT64@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_16
	.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
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_O_EXTERNAL_ACTION,8,3          ; @O_EXTERNAL_ACTION
	.comm	_V_nat64stl_eid,8,3             ; @V_nat64stl_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ; @O_EXTERNAL_INSTANCE
	.comm	_IPPROTO_ICMPV6,8,3             ; @IPPROTO_ICMPV6
	.comm	_NAT64SKIP,4,2                  ; @NAT64SKIP
	.comm	_NAT64MFREE,4,2                 ; @NAT64MFREE
	.comm	_IP_FW_NAT64,4,2                ; @IP_FW_NAT64
.subsections_via_symbols
