	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp_rcv                       ## -- Begin function icmp_rcv
	.p2align	4, 0x90
_icmp_rcv:                              ## @icmp_rcv
	.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	%rdi, %rbx
	callq	_skb_rtable
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_dev_net
	movq	%rax, %r14
	movq	_XFRM_POLICY_IN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_xfrm4_policy_check
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movq	_ICMP_MIB_INMSGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ICMP_INC_STATS_BH
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.8:
	movl	4(%rbx), %edi
	callq	_csum_fold
	testl	%eax, %eax
	je	LBB0_10
LBB0_9:
	movl	$0, 4(%rbx)
	movq	%rbx, %rdi
	callq	___skb_checksum_complete
	testl	%eax, %eax
	jne	LBB0_16
LBB0_10:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_pskb_pull
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movq	%rbx, %rdi
	callq	_icmp_hdr
	movq	%rax, %r12
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_ICMPMSGIN_INC_STATS_BH
	movq	(%r12), %rax
	movq	_NR_ICMP_TYPES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_12
LBB0_16:
	movq	_ICMP_MIB_INERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ICMP_INC_STATS_BH
LBB0_20:
	movq	%rbx, %rdi
	callq	_kfree_skb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_skb_sec_path
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movq	8(%rax), %rcx
	movslq	(%rax), %rax
	movq	-8(%rcx,%rax,8), %rax
	movq	_XFRM_STATE_ICMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_20
## %bb.3:
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_20
## %bb.4:
	movq	%rbx, %rdi
	callq	_skb_network_offset
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_set_network_header
	movl	(%r13), %esi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_xfrm4_policy_check_reverse
	testl	%eax, %eax
	je	LBB0_20
## %bb.5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_skb_set_network_header
	jmp	LBB0_6
LBB0_12:
	movq	_RTCF_BROADCAST@GOTPCREL(%rip), %rcx
	movq	_RTCF_MULTICAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%r15)
	je	LBB0_19
## %bb.13:
	movq	_ICMP_ECHO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_ICMP_TIMESTAMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.17:
	movq	_ICMP_ADDRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:
	movq	_ICMP_ADDRESSREPLY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
	jmp	LBB0_19
LBB0_15:
	cmpq	$0, (%r14)
	jne	LBB0_16
LBB0_19:
	movq	_icmp_pointers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, %rdi
	callq	*(%rcx,%rax,8)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_POLICY_IN,4,2             ## @XFRM_POLICY_IN
	.comm	_XFRM_STATE_ICMP,4,2            ## @XFRM_STATE_ICMP
	.comm	_ICMP_MIB_INMSGS,4,2            ## @ICMP_MIB_INMSGS
	.comm	_NR_ICMP_TYPES,8,3              ## @NR_ICMP_TYPES
	.comm	_RTCF_BROADCAST,4,2             ## @RTCF_BROADCAST
	.comm	_RTCF_MULTICAST,4,2             ## @RTCF_MULTICAST
	.comm	_ICMP_ECHO,8,3                  ## @ICMP_ECHO
	.comm	_ICMP_TIMESTAMP,8,3             ## @ICMP_TIMESTAMP
	.comm	_ICMP_ADDRESS,8,3               ## @ICMP_ADDRESS
	.comm	_ICMP_ADDRESSREPLY,8,3          ## @ICMP_ADDRESSREPLY
	.comm	_icmp_pointers,8,3              ## @icmp_pointers
	.comm	_ICMP_MIB_INERRORS,4,2          ## @ICMP_MIB_INERRORS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp_rcv                       ; -- Begin function icmp_rcv
	.p2align	2
_icmp_rcv:                              ; @icmp_rcv
	.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	x19, x0
	bl	_skb_rtable
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_dev_net
	mov	x20, x0
Lloh0:
	adrp	x23, _XFRM_POLICY_IN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _XFRM_POLICY_IN@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, #0
	mov	x2, x19
	bl	_xfrm4_policy_check
	cbz	w0, LBB0_9
LBB0_1:
Lloh2:
	adrp	x8, _ICMP_MIB_INMSGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICMP_MIB_INMSGS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ICMP_INC_STATS_BH
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_csum_fold
	cbz	w0, LBB0_5
LBB0_4:
	str	wzr, [x19, #4]
	mov	x0, x19
	bl	___skb_checksum_complete
	cbnz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	mov	w1, #8
	bl	_pskb_pull
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_icmp_hdr
	mov	x22, x0
	ldr	x1, [x0]
	mov	x0, x20
	bl	_ICMPMSGIN_INC_STATS_BH
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _NR_ICMP_TYPES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NR_ICMP_TYPES@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_14
LBB0_7:
Lloh8:
	adrp	x8, _ICMP_MIB_INERRORS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICMP_MIB_INERRORS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ICMP_INC_STATS_BH
LBB0_8:
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #0
	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_9:
	mov	x0, x19
	bl	_skb_sec_path
	cbz	x0, LBB0_8
; %bb.10:
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _XFRM_STATE_ICMP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XFRM_STATE_ICMP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.11:
	mov	x0, x19
	mov	w1, #12
	bl	_pskb_may_pull
	cbz	w0, LBB0_8
; %bb.12:
	mov	x0, x19
	bl	_skb_network_offset
	mov	x22, x0
	mov	x0, x19
	mov	w1, #8
	bl	_skb_set_network_header
	ldr	w1, [x23]
	mov	x0, #0
	mov	x2, x19
	bl	_xfrm4_policy_check_reverse
	cbz	w0, LBB0_8
; %bb.13:
	mov	x0, x19
	mov	x1, x22
	bl	_skb_set_network_header
	b	LBB0_1
LBB0_14:
	ldr	w9, [x21]
Lloh14:
	adrp	x10, _RTCF_BROADCAST@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RTCF_BROADCAST@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _RTCF_MULTICAST@GOTPAGE
Lloh18:
	ldr	x11, [x11, _RTCF_MULTICAST@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_20
; %bb.15:
Lloh20:
	adrp	x9, _ICMP_ECHO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ICMP_ECHO@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.16:
Lloh23:
	adrp	x9, _ICMP_TIMESTAMP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ICMP_TIMESTAMP@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.17:
Lloh26:
	adrp	x9, _ICMP_ADDRESS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ICMP_ADDRESS@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.18:
Lloh29:
	adrp	x9, _ICMP_ADDRESSREPLY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ICMP_ADDRESSREPLY@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
	b	LBB0_20
LBB0_19:
	ldr	x9, [x20]
	cbnz	x9, LBB0_7
LBB0_20:
Lloh32:
	adrp	x9, _icmp_pointers@GOTPAGE
Lloh33:
	ldr	x9, [x9, _icmp_pointers@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	mov	x0, x19
	blr	x8
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_POLICY_IN,4,2             ; @XFRM_POLICY_IN
	.comm	_XFRM_STATE_ICMP,4,2            ; @XFRM_STATE_ICMP
	.comm	_ICMP_MIB_INMSGS,4,2            ; @ICMP_MIB_INMSGS
	.comm	_NR_ICMP_TYPES,8,3              ; @NR_ICMP_TYPES
	.comm	_RTCF_BROADCAST,4,2             ; @RTCF_BROADCAST
	.comm	_RTCF_MULTICAST,4,2             ; @RTCF_MULTICAST
	.comm	_ICMP_ECHO,8,3                  ; @ICMP_ECHO
	.comm	_ICMP_TIMESTAMP,8,3             ; @ICMP_TIMESTAMP
	.comm	_ICMP_ADDRESS,8,3               ; @ICMP_ADDRESS
	.comm	_ICMP_ADDRESSREPLY,8,3          ; @ICMP_ADDRESSREPLY
	.comm	_icmp_pointers,8,3              ; @icmp_pointers
	.comm	_ICMP_MIB_INERRORS,4,2          ; @ICMP_MIB_INERRORS
.subsections_via_symbols
