	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp6_dst_alloc                ## -- Begin function icmp6_dst_alloc
	.p2align	4, 0x90
_icmp6_dst_alloc:                       ## @icmp6_dst_alloc
	.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
	subq	$24, %rsp
	.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, %r13
	movq	%rdi, %r14
	callq	_in6_dev_get
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_dev_net
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ip6_dst_alloc
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_in6_dev_put
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_dev_hold
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_neigh_hold
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ndisc_get_neigh
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	xorl	%r13d, %r13d
	testq	%rax, %rax
	cmoveq	%rbx, %r13
LBB0_7:
	movq	%r14, 40(%r15)
	movq	%r12, 56(%r15)
	movq	%r13, 48(%r15)
	movq	%r15, %rdi
	addq	$24, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	(%r15), %rax
	movq	_RTAX_HOPLIMIT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	$255, -4(%rax,%rcx,4)
	movq	40(%r15), %rdi
	callq	_ipv6_get_mtu
	movq	(%r15), %rcx
	movq	_RTAX_MTU@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	%r15, %rdi
	callq	_dst_mtu
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ipv6_advmss
	movq	(%r15), %rcx
	movq	_RTAX_ADVMSS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	_ip6_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_icmp6_dst_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_icmp6_dst_gc_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r15)
	movq	%r15, (%rax)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_fib6_force_start_gc
LBB0_8:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_HOPLIMIT,4,2              ## @RTAX_HOPLIMIT
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ## @RTAX_ADVMSS
	.comm	_ip6_output,4,2                 ## @ip6_output
	.comm	_icmp6_dst_lock,4,2             ## @icmp6_dst_lock
	.comm	_icmp6_dst_gc_list,8,3          ## @icmp6_dst_gc_list
	.comm	_DST_HOST,4,2                   ## @DST_HOST
	.comm	_IPV6_ADDR_UNICAST,4,2          ## @IPV6_ADDR_UNICAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp6_dst_alloc                ; -- Begin function icmp6_dst_alloc
	.p2align	2
_icmp6_dst_alloc:                       ; @icmp6_dst_alloc
	.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	x24, x2
	mov	x23, x1
	mov	x21, x0
	bl	_in6_dev_get
	mov	x22, x0
	mov	x0, x21
	bl	_dev_net
	mov	x19, x0
	cmp	x22, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_ip6_dst_alloc
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_in6_dev_put
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	bl	_dev_hold
	cbz	x23, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_neigh_hold
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	mov	x1, x24
	bl	_ndisc_get_neigh
	mov	x23, x0
	bl	_IS_ERR
	cmp	x0, #0
	csel	x23, x23, xzr, eq
LBB0_7:
	stp	x23, x22, [x20, #48]
	add	x0, x20, #24
	str	x21, [x20, #40]
	mov	w1, #1
	bl	_atomic_set
Lloh0:
	adrp	x8, _RTAX_HOPLIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTAX_HOPLIMIT@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	mov	w9, #255
	stur	w9, [x8, #-4]
	ldr	x0, [x20, #40]
	bl	_ipv6_get_mtu
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _RTAX_MTU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTAX_MTU@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x20
	bl	_dst_mtu
	mov	x1, x0
	mov	x0, x19
	bl	_ipv6_advmss
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _RTAX_ADVMSS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTAX_ADVMSS@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	stur	w0, [x8, #-4]
Lloh9:
	adrp	x8, _ip6_output@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ip6_output@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #20]
Lloh12:
	adrp	x21, _icmp6_dst_lock@GOTPAGE
Lloh13:
	ldr	x21, [x21, _icmp6_dst_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_bh
Lloh14:
	adrp	x8, _icmp6_dst_gc_list@GOTPAGE
Lloh15:
	ldr	x8, [x8, _icmp6_dst_gc_list@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x20, #8]
	str	x20, [x8]
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_fib6_force_start_gc
LBB0_8:
	mov	x0, x20
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_HOPLIMIT,4,2              ; @RTAX_HOPLIMIT
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ; @RTAX_ADVMSS
	.comm	_ip6_output,4,2                 ; @ip6_output
	.comm	_icmp6_dst_lock,4,2             ; @icmp6_dst_lock
	.comm	_icmp6_dst_gc_list,8,3          ; @icmp6_dst_gc_list
	.comm	_DST_HOST,4,2                   ; @DST_HOST
	.comm	_IPV6_ADDR_UNICAST,4,2          ; @IPV6_ADDR_UNICAST
.subsections_via_symbols
