	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_findroute
_ip6_findroute:                         ## @ip6_findroute
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_M_GETFIB
	leaq	8(%rbx), %rsi
	movl	(%rbx), %r8d
	movl	4(%rbx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_fib6_lookup_nh_basic
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ip6s_noroute@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IP6STAT_INC
	movq	_ip6s_cantforward@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IP6STAT_INC
	movq	_ICMP6_DST_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICMP6_DST_UNREACH_NOROUTE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_icmp6_error
	jmp	LBB0_8
LBB0_2:
	movl	(%r15), %eax
	movq	_NHF_BLACKHOLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_ip6s_cantforward@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IP6STAT_INC
	movq	%r14, %rdi
	callq	_m_freem
LBB0_8:
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_NHF_REJECT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.6:
	movq	_ip6s_cantforward@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IP6STAT_INC
	movq	_ICMP6_DST_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICMP6_DST_UNREACH_REJECT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ip6s_noroute,4,2               ## @ip6s_noroute
	.comm	_ip6s_cantforward,4,2           ## @ip6s_cantforward
	.comm	_ICMP6_DST_UNREACH,4,2          ## @ICMP6_DST_UNREACH
	.comm	_ICMP6_DST_UNREACH_NOROUTE,4,2  ## @ICMP6_DST_UNREACH_NOROUTE
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_NHF_BLACKHOLE,4,2              ## @NHF_BLACKHOLE
	.comm	_NHF_REJECT,4,2                 ## @NHF_REJECT
	.comm	_ICMP6_DST_UNREACH_REJECT,4,2   ## @ICMP6_DST_UNREACH_REJECT
	.no_dead_strip	_ip6_findroute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_findroute
_ip6_findroute:                         ; @ip6_findroute
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_M_GETFIB
	add	x1, x21, #8
	ldp	w4, w2, [x21]
	mov	w3, #0
	mov	x5, x20
	bl	_fib6_lookup_nh_basic
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ip6s_noroute@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ip6s_noroute@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IP6STAT_INC
Lloh3:
	adrp	x8, _ip6s_cantforward@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ip6s_cantforward@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_IP6STAT_INC
Lloh6:
	adrp	x8, _ICMP6_DST_UNREACH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICMP6_DST_UNREACH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ICMP6_DST_UNREACH_NOROUTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ICMP6_DST_UNREACH_NOROUTE@GOTPAGEOFF]
LBB0_2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_icmp6_error
	b	LBB0_5
LBB0_3:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _NHF_BLACKHOLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NHF_BLACKHOLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
Lloh14:
	adrp	x8, _ip6s_cantforward@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ip6s_cantforward@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_IP6STAT_INC
	mov	x0, x19
	bl	_m_freem
LBB0_5:
Lloh17:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh20:
	adrp	x9, _NHF_REJECT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NHF_REJECT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh23:
	adrp	x8, _ip6s_cantforward@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ip6s_cantforward@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_IP6STAT_INC
Lloh26:
	adrp	x8, _ICMP6_DST_UNREACH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ICMP6_DST_UNREACH@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _ICMP6_DST_UNREACH_REJECT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ICMP6_DST_UNREACH_REJECT@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ip6s_noroute,4,2               ; @ip6s_noroute
	.comm	_ip6s_cantforward,4,2           ; @ip6s_cantforward
	.comm	_ICMP6_DST_UNREACH,4,2          ; @ICMP6_DST_UNREACH
	.comm	_ICMP6_DST_UNREACH_NOROUTE,4,2  ; @ICMP6_DST_UNREACH_NOROUTE
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_NHF_BLACKHOLE,4,2              ; @NHF_BLACKHOLE
	.comm	_NHF_REJECT,4,2                 ; @NHF_REJECT
	.comm	_ICMP6_DST_UNREACH_REJECT,4,2   ; @ICMP6_DST_UNREACH_REJECT
	.no_dead_strip	_ip6_findroute
.subsections_via_symbols
