	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_nat_icmp                 ## -- Begin function ip_vs_nat_icmp
	.p2align	4, 0x90
_ip_vs_nat_icmp:                        ## @ip_vs_nat_icmp
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_ip_hdr
	movq	%rax, %r12
	movl	(%rax), %r15d
	shll	$2, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_network_header
	leaq	(%rax,%r15), %rcx
	leaq	(%rax,%r15), %rbx
	addq	$8, %rbx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	12(%r13), %eax
	movl	%eax, 16(%r12)
	movq	%r12, %rdi
	movq	%rcx, %r14
	callq	_ip_send_check
	movl	12(%r13), %eax
	movl	%eax, 20(%rbx)
	jmp	LBB0_3
LBB0_2:
	movl	8(%r13), %eax
	movl	%eax, 20(%r12)
	movq	%r12, %rdi
	movq	%rcx, %r14
	callq	_ip_send_check
	movl	8(%r13), %eax
	movl	%eax, 24(%r14)
LBB0_3:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ip_send_check
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	movq	16(%r14), %rax
	cmpq	%rax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_9
LBB0_6:
	movslq	(%rbx), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rbx,%rax,4)
	jmp	LBB0_9
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx,%rax,4)
LBB0_9:
	movq	$0, (%r14)
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_ip_vs_checksum_complete
	subl	%r12d, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%rax, (%r14)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r8
	cmoveq	%rax, %r8
	movl	$11, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_DBG_PKT                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_IPPROTO_SCTP,8,3               ## @IPPROTO_SCTP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Forwarding altered outgoing ICMP"

L_.str.1:                               ## @.str.1
	.asciz	"Forwarding altered incoming ICMP"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_nat_icmp                 ; -- Begin function ip_vs_nat_icmp
	.p2align	2
_ip_vs_nat_icmp:                        ; @ip_vs_nat_icmp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	bl	_ip_hdr
	mov	x22, x0
	ldr	w8, [x0]
	lsl	w25, w8, #2
	mov	x0, x19
	bl	_skb_network_header
	add	x26, x0, x25
	add	x23, x26, #8
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w8, [x24, #12]
	str	w8, [x22, #16]
	mov	x0, x22
	bl	_ip_send_check
	ldr	w8, [x24, #12]
	str	w8, [x23, #20]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x24, #8]
	str	w8, [x22, #20]
	mov	x0, x22
	bl	_ip_send_check
	ldr	w8, [x24, #8]
	str	w8, [x26, #24]
LBB0_3:
	mov	x0, x23
	bl	_ip_send_check
Lloh0:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x26, #16]
Lloh3:
	adrp	x10, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _IPPROTO_SCTP@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x10, x9, #4, ne
	ccmp	x11, x9, #4, ne
	b.ne	LBB0_7
; %bb.4:
	ldrsw	x8, [x23]
	add	x8, x23, x8, lsl #2
	cbz	w21, LBB0_6
; %bb.5:
	ldr	w9, [x24, #4]
	str	w9, [x8, #4]
	b	LBB0_7
LBB0_6:
	ldr	w9, [x24]
	str	w9, [x8]
LBB0_7:
	str	xzr, [x26]
	mov	x0, x19
	mov	x1, x25
	bl	_ip_vs_checksum_complete
	str	x0, [x26]
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	sub	w3, w23, w22
Lloh12:
	adrp	x8, l_.str@PAGE
Lloh13:
	add	x8, x8, l_.str@PAGEOFF
Lloh14:
	adrp	x9, l_.str.1@PAGE
Lloh15:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w21, #0
	csel	x4, x9, x8, eq
	mov	w0, #11
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_IP_VS_DBG_PKT
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_IPPROTO_SCTP,8,3               ; @IPPROTO_SCTP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Forwarding altered outgoing ICMP"

l_.str.1:                               ; @.str.1
	.asciz	"Forwarding altered incoming ICMP"

.subsections_via_symbols
