	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mip6_rthdr_output
_mip6_rthdr_output:                     ## @mip6_rthdr_output
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_skb_network_offset
	negl	%eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_push
	movq	%rbx, %rdi
	callq	_ipv6_hdr
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movl	(%rax), %r12d
	movq	_IPPROTO_ROUTING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movl	%r13d, (%rax)
	movq	%rbx, %rdi
	callq	_skb_transport_header
	movq	%rax, %rbx
	movl	%r12d, 16(%rax)
	movl	16(%r15), %eax
	sarl	$3, %eax
	decl	%eax
	movl	%eax, 4(%rbx)
	movq	_IPV6_SRCRT_TYPE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, 8(%rbx)
	leaq	20(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorl	%edi, %edi
	cmpl	$2, 4(%rbx)
	setne	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	8(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_ROUTING,4,2            ## @IPPROTO_ROUTING
	.comm	_IPV6_SRCRT_TYPE_2,4,2          ## @IPV6_SRCRT_TYPE_2
	.no_dead_strip	_mip6_rthdr_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mip6_rthdr_output
_mip6_rthdr_output:                     ; @mip6_rthdr_output
	.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, x1
	mov	x19, x0
	mov	x0, x1
	bl	_skb_network_offset
	neg	w1, w0
	mov	x0, x20
	bl	_skb_push
	mov	x0, x20
	bl	_ipv6_hdr
	mov	x21, x0
	mov	x0, x20
	bl	_skb_mac_header
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _IPPROTO_ROUTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_ROUTING@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_skb_mac_header
	str	w23, [x0]
	mov	x0, x20
	bl	_skb_transport_header
	mov	x20, x0
	ldr	w8, [x19, #16]
	asr	w8, w8, #3
	sub	w8, w8, #1
Lloh3:
	adrp	x9, _IPV6_SRCRT_TYPE_2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPV6_SRCRT_TYPE_2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w22, [x0, #12]
	mov	w9, #1
	stp	w8, w9, [x0, #4]
	add	x0, x0, #20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20, #4]
	cmp	w8, #2
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x20
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x1, [x19, #8]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_ROUTING,4,2            ; @IPPROTO_ROUTING
	.comm	_IPV6_SRCRT_TYPE_2,4,2          ; @IPV6_SRCRT_TYPE_2
	.no_dead_strip	_mip6_rthdr_output
.subsections_via_symbols
