	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_nat64clat                 ## -- Begin function ipfw_nat64clat
	.p2align	4, 0x90
_ipfw_nat64clat:                        ## @ipfw_nat64clat
	.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_15
## %bb.1:
	movq	8(%rbx), %rax
	movq	_V_nat64clat_eid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.2:
	addq	$16, %rbx
	movq	(%rbx), %rax
	movq	_O_EXTERNAL_INSTANCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_NAT64_LOOKUP
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movq	%rax, %rbx
	movl	8(%r14), %eax
	cmpl	$6, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$4, %eax
	jne	LBB0_15
## %bb.6:
	movq	(%r14), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_nat64clat_handle_ip4
	jmp	LBB0_8
LBB0_7:
	movq	(%r14), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_nat64clat_handle_ip6
LBB0_8:
	movq	_NAT64SKIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_11
## %bb.9:
	movq	16(%r14), %rax
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.10:
	movq	(%r14), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_nat64clat_handle_icmp6
	movq	_NAT64SKIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	cmpl	%ecx, %eax
	je	LBB0_15
## %bb.12:
	movl	$1, (%r12)
	movq	_NAT64MFREE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.13:
	movq	(%r14), %rdi
	callq	_m_freem
LBB0_14:
	movq	$0, (%r14)
	movq	_IP_FW_NAT64@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_15:
	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_nat64clat_eid,8,3            ## @V_nat64clat_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ## @O_EXTERNAL_INSTANCE
	.comm	_NAT64SKIP,4,2                  ## @NAT64SKIP
	.comm	_IPPROTO_ICMPV6,8,3             ## @IPPROTO_ICMPV6
	.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_nat64clat                 ; -- Begin function ipfw_nat64clat
	.p2align	2
_ipfw_nat64clat:                        ; @ipfw_nat64clat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	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_13
; %bb.1:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _V_nat64clat_eid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_nat64clat_eid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %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_12
; %bb.3:
	mov	x0, x21
	bl	_NAT64_LOOKUP
	cbz	x0, LBB0_13
; %bb.4:
	mov	x22, x0
	ldr	w8, [x19, #8]
	cmp	w8, #6
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #4
	b.ne	LBB0_12
; %bb.6:
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_nat64clat_handle_ip4
	b	LBB0_8
LBB0_7:
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_nat64clat_handle_ip6
LBB0_8:
Lloh9:
	adrp	x23, _NAT64SKIP@GOTPAGE
Lloh10:
	ldr	x23, [x23, _NAT64SKIP@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
Lloh11:
	adrp	x9, _IPPROTO_ICMPV6@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_nat64clat_handle_icmp6
	ldr	w8, [x23]
LBB0_11:
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #1
	str	w8, [x20]
Lloh14:
	adrp	x8, _NAT64MFREE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NAT64MFREE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.15:
	ldr	x0, [x19]
	bl	_m_freem
LBB0_16:
	str	xzr, [x19]
Lloh17:
	adrp	x8, _IP_FW_NAT64@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IP_FW_NAT64@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_O_EXTERNAL_ACTION,8,3          ; @O_EXTERNAL_ACTION
	.comm	_V_nat64clat_eid,8,3            ; @V_nat64clat_eid
	.comm	_O_EXTERNAL_INSTANCE,8,3        ; @O_EXTERNAL_INSTANCE
	.comm	_NAT64SKIP,4,2                  ; @NAT64SKIP
	.comm	_IPPROTO_ICMPV6,8,3             ; @IPPROTO_ICMPV6
	.comm	_NAT64MFREE,4,2                 ; @NAT64MFREE
	.comm	_IP_FW_NAT64,4,2                ; @IP_FW_NAT64
.subsections_via_symbols
