	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ck_icmp
_ck_icmp:                               ## @ck_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	(%r8), %rax
	movq	_ICMP_ROUTERADVERT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_4
LBB0_2:
	movq	_ICMP_ROUTERSOLICIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %r14
LBB0_4:
	movl	8(%r8), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	callq	_naddr_ntoa
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_naddr_ntoa
	leaq	L_.str.2(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_trace_pkt
	jmp	LBB0_8
LBB0_6:
	movl	%r12d, %esi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	_trace_rdisc
	testq	%r13, %r13
	jne	LBB0_8
## %bb.7:
	movl	%r12d, %edi
	callq	_naddr_ntoa
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_naddr_ntoa
	leaq	L_.str.3(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_trace_pkt
	jmp	LBB0_8
LBB0_9:
	xorl	%r13d, %r13d
LBB0_8:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICMP_ROUTERADVERT,8,3          ## @ICMP_ROUTERADVERT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"advertisement"

	.comm	_ICMP_ROUTERSOLICIT,8,3         ## @ICMP_ROUTERSOLICIT
L_.str.1:                               ## @.str.1
	.asciz	"solicitation"

L_.str.2:                               ## @.str.2
	.asciz	"unrecognized ICMP Router %s code=%d from %s to %s"

L_.str.3:                               ## @.str.3
	.asciz	"unknown interface for router-discovery %s from %s to %s"

	.no_dead_strip	_ck_icmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ck_icmp
_ck_icmp:                               ; @ck_icmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x4]
Lloh0:
	adrp	x9, _ICMP_ROUTERADVERT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICMP_ROUTERADVERT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	ldr	w23, [x4, #8]
	cbz	w23, LBB0_6
LBB0_2:
	mov	x0, x22
	bl	_naddr_ntoa
	mov	x21, x0
	mov	x0, x20
	bl	_naddr_ntoa
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
LBB0_3:
	bl	_trace_pkt
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x9, _ICMP_ROUTERSOLICIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ICMP_ROUTERSOLICIT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
Lloh10:
	adrp	x19, l_.str.1@PAGE
Lloh11:
	add	x19, x19, l_.str.1@PAGEOFF
	ldr	w23, [x4, #8]
	cbnz	w23, LBB0_2
LBB0_6:
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_trace_rdisc
	cbnz	x21, LBB0_9
; %bb.7:
	mov	x0, x22
	bl	_naddr_ntoa
	mov	x21, x0
	mov	x0, x20
	bl	_naddr_ntoa
	mov	x3, x0
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	b	LBB0_3
LBB0_8:
	mov	x21, #0
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ICMP_ROUTERADVERT,8,3          ; @ICMP_ROUTERADVERT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"advertisement"

	.comm	_ICMP_ROUTERSOLICIT,8,3         ; @ICMP_ROUTERSOLICIT
l_.str.1:                               ; @.str.1
	.asciz	"solicitation"

l_.str.2:                               ; @.str.2
	.asciz	"unrecognized ICMP Router %s code=%d from %s to %s"

l_.str.3:                               ; @.str.3
	.asciz	"unknown interface for router-discovery %s from %s to %s"

	.no_dead_strip	_ck_icmp
.subsections_via_symbols
