	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_push_rthdr
_ipv6_push_rthdr:                       ## @ipv6_push_rthdr
	.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	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	(%rdx), %eax
	leal	8(,%rax,8), %esi
	callq	_skb_push
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	(%r13), %eax
	movl	%eax, %ebx
	sarl	%ebx
	cmpl	$4, %eax
	jl	LBB0_2
## %bb.1:
	movq	8(%r12), %rdi
	movq	8(%r13), %rsi
	addq	$16, %rsi
	movl	%ebx, %edx
	shll	$4, %edx
	addl	$-16, %edx
	callq	_memcpy
LBB0_2:
	movq	8(%r12), %rax
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$-16, %rdi
	movq	(%r15), %rsi
	callq	_ipv6_addr_copy
	movq	8(%r13), %rax
	movq	%rax, (%r15)
	movl	(%r14), %eax
	movl	%eax, 4(%r12)
	movq	_NEXTHDR_ROUTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEXTHDR_ROUTING,4,2            ## @NEXTHDR_ROUTING
	.no_dead_strip	_ipv6_push_rthdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_push_rthdr
_ipv6_push_rthdr:                       ; @ipv6_push_rthdr
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	ldr	w8, [x2]
	lsl	w8, w8, #3
	add	w1, w8, #8
	bl	_skb_push
	mov	x22, x0
	mov	x1, x21
	mov	w2, #16
	bl	_memcpy
	ldr	w8, [x21]
	asr	w23, w8, #1
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x22, #8]
	ldr	x8, [x21, #8]
	add	x1, x8, #16
	lsl	w8, w23, #4
	sub	w2, w8, #16
	bl	_memcpy
LBB0_2:
	ldr	x8, [x22, #8]
	sub	w9, w23, #1
	add	x0, x8, w9, sxtw #4
	ldr	x1, [x20]
	bl	_ipv6_addr_copy
	ldr	x8, [x21, #8]
	str	x8, [x20]
	ldr	w8, [x19]
	str	w8, [x22, #4]
Lloh0:
	adrp	x8, _NEXTHDR_ROUTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEXTHDR_ROUTING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NEXTHDR_ROUTING,4,2            ; @NEXTHDR_ROUTING
	.no_dead_strip	_ipv6_push_rthdr
.subsections_via_symbols
