	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_dst_lookup_tail
_ip6_dst_lookup_tail:                   ## @ip6_dst_lookup_tail
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_sock_net
	movq	%rax, %rbx
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_ip6_route_output
	movq	%rax, (%r12)
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_3
LBB0_8:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_10
## %bb.9:
	movq	_IPSTATS_MIB_OUTNOROUTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_IP6_INC_STATS_BH
LBB0_10:
	movq	(%r12), %rdi
	callq	_dst_release
	movq	$0, (%r12)
	movl	%ebx, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%r12), %rsi
	xorl	%r14d, %r14d
	movl	$0, %ecx
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%rsi, %r13
	callq	_inet6_sk
	movq	%r13, %rsi
	movl	(%rax), %ecx
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %r8
	callq	_ip6_route_get_saddr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
	.comm	_IPSTATS_MIB_OUTNOROUTES,4,2    ## @IPSTATS_MIB_OUTNOROUTES
	.comm	_IFA_F_OPTIMISTIC,4,2           ## @IFA_F_OPTIMISTIC
	.comm	_NUD_VALID,4,2                  ## @NUD_VALID
	.no_dead_strip	_ip6_dst_lookup_tail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_dst_lookup_tail
_ip6_dst_lookup_tail:                   ; @ip6_dst_lookup_tail
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_sock_net
	mov	x20, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w23, [x0]
	cbnz	w23, LBB0_9
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ip6_route_output
	str	x0, [x19]
	ldr	w23, [x0]
	cbnz	w23, LBB0_9
LBB0_3:
	add	x23, x21, #4
	mov	x0, x23
	bl	_ipv6_addr_any
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x24, [x19]
	cbz	x22, LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_inet6_sk
	ldr	w3, [x0]
	b	LBB0_8
LBB0_6:
	mov	w23, #0
	b	LBB0_12
LBB0_7:
	mov	w3, #0
LBB0_8:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x21
	mov	x4, x23
	bl	_ip6_route_get_saddr
	mov	x23, x0
	cbz	w0, LBB0_12
LBB0_9:
Lloh0:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w23, w8
	b.ne	LBB0_11
; %bb.10:
Lloh3:
	adrp	x8, _IPSTATS_MIB_OUTNOROUTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPSTATS_MIB_OUTNOROUTES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_IP6_INC_STATS_BH
LBB0_11:
	ldr	x0, [x19]
	bl	_dst_release
	str	xzr, [x19]
LBB0_12:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
	.comm	_IPSTATS_MIB_OUTNOROUTES,4,2    ; @IPSTATS_MIB_OUTNOROUTES
	.comm	_IFA_F_OPTIMISTIC,4,2           ; @IFA_F_OPTIMISTIC
	.comm	_NUD_VALID,4,2                  ; @NUD_VALID
	.no_dead_strip	_ip6_dst_lookup_tail
.subsections_via_symbols
