	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_rt_copy
_ip6_rt_copy:                           ## @ip6_rt_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	96(%rdi), %edi
	callq	_dev_net
	movq	%rax, %rdi
	callq	_ip6_dst_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	84(%r14), %eax
	movl	%eax, 84(%rbx)
	movl	80(%r14), %eax
	movl	%eax, 80(%rbx)
	movq	72(%rbx), %rdi
	movq	72(%r14), %rsi
	movq	_RTAX_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcpy
	movl	64(%r14), %eax
	movl	%eax, 64(%rbx)
	movq	56(%r14), %rdi
	movq	%rdi, 56(%rbx)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_dev_hold
LBB0_3:
	movq	88(%r14), %rdi
	movq	%rdi, 88(%rbx)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_in6_dev_hold
LBB0_5:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	$0, 40(%rbx)
	leaq	32(%rbx), %rdi
	leaq	32(%r14), %rsi
	callq	_ipv6_addr_copy
	movq	_RTF_EXPIRES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	$0, 24(%rbx)
	leaq	16(%rbx), %rdi
	leaq	16(%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	addq	$8, %rdi
	leaq	8(%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_MAX,4,2                   ## @RTAX_MAX
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_RTF_EXPIRES,4,2                ## @RTF_EXPIRES
	.no_dead_strip	_ip6_rt_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_rt_copy
_ip6_rt_copy:                           ; @ip6_rt_copy
	.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
	ldr	w0, [x0, #96]
	bl	_dev_net
	bl	_ip6_dst_alloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldr	d0, [x19, #80]
	str	d0, [x20, #80]
	ldr	x0, [x20, #72]
	ldr	x1, [x19, #72]
Lloh0:
	adrp	x8, _RTAX_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTAX_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	w8, [x19, #64]
	str	w8, [x20, #64]
	ldr	x0, [x19, #56]
	str	x0, [x20, #56]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_dev_hold
LBB0_3:
	ldr	x0, [x19, #88]
	str	x0, [x20, #88]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_in6_dev_hold
LBB0_5:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	str	xzr, [x20, #40]
	add	x0, x20, #32
	add	x1, x19, #32
	bl	_ipv6_addr_copy
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _RTF_EXPIRES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTF_EXPIRES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20]
	str	xzr, [x20, #24]
	add	x0, x20, #16
	add	x1, x19, #16
	mov	w2, #4
	bl	_memcpy
	add	x0, x20, #8
	add	x1, x19, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x19, #4]
	str	w8, [x20, #4]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_MAX,4,2                   ; @RTAX_MAX
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_RTF_EXPIRES,4,2                ; @RTF_EXPIRES
	.no_dead_strip	_ip6_rt_copy
.subsections_via_symbols
