	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_link_failure
_ip6_link_failure:                      ## @ip6_link_failure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ICMPV6_DEST_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICMPV6_ADDR_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %r8d
	xorl	%ecx, %ecx
	callq	_icmpv6_send
	movq	%rbx, %rdi
	callq	_skb_dst
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %eax
	movq	_RTF_CACHE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_dst_set_expires
	movq	_RTF_EXPIRES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	movq	_RTF_DEFAULT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_6
## %bb.5:
	movl	$-1, (%rcx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICMPV6_DEST_UNREACH,4,2        ## @ICMPV6_DEST_UNREACH
	.comm	_ICMPV6_ADDR_UNREACH,4,2        ## @ICMPV6_ADDR_UNREACH
	.comm	_RTF_CACHE,4,2                  ## @RTF_CACHE
	.comm	_RTF_EXPIRES,4,2                ## @RTF_EXPIRES
	.comm	_RTF_DEFAULT,4,2                ## @RTF_DEFAULT
	.no_dead_strip	_ip6_link_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_link_failure
_ip6_link_failure:                      ; @ip6_link_failure
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ICMPV6_DEST_UNREACH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICMPV6_DEST_UNREACH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ICMPV6_ADDR_UNREACH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICMPV6_ADDR_UNREACH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w4, [x0]
	mov	w3, #0
	bl	_icmpv6_send
	mov	x0, x19
	bl	_skb_dst
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _RTF_CACHE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTF_CACHE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #16
	mov	w1, #0
	bl	_dst_set_expires
Lloh9:
	adrp	x8, _RTF_EXPIRES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTF_EXPIRES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_6
LBB0_3:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_6
; %bb.4:
Lloh12:
	adrp	x10, _RTF_DEFAULT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RTF_DEFAULT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #-1
	str	w8, [x9]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ICMPV6_DEST_UNREACH,4,2        ; @ICMPV6_DEST_UNREACH
	.comm	_ICMPV6_ADDR_UNREACH,4,2        ; @ICMPV6_ADDR_UNREACH
	.comm	_RTF_CACHE,4,2                  ; @RTF_CACHE
	.comm	_RTF_EXPIRES,4,2                ; @RTF_EXPIRES
	.comm	_RTF_DEFAULT,4,2                ; @RTF_DEFAULT
	.no_dead_strip	_ip6_link_failure
.subsections_via_symbols
