	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mip6_rthdr_offset
_mip6_rthdr_offset:                     ## @mip6_rthdr_offset
	.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, %rbx
	movq	%rsi, %rdi
	callq	_ipv6_hdr
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_skb_network_header
	movq	%rax, %r12
	movl	(%rbx), %r14d
	subl	4(%rbx), %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ipv6_hdr
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r15)
	movl	$4, %ecx
	cmpl	$5, %r14d
	jb	LBB0_1
## %bb.2:
	addq	$4, %r13
	movl	$4, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_ipv6_optlen
	movq	%rax, %rdx
	leal	(%rbx,%rax), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	%r13, %rax
	movslq	%ecx, %r13
	addq	%r12, %r13
	addl	%ebx, %edx
	incl	%edx
	movl	%ecx, %ebx
	cmpl	%r14d, %edx
	ja	LBB0_1
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %eax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	3(%rbx), %eax
	movl	$1, %r15d
	cmpl	%r14d, %eax
	ja	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rax
	cmpl	$0, (%r12,%rax)
	je	LBB0_3
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IPV6_TLV_HAO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_ipv6_find_tlv
	testl	%eax, %eax
	jns	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	movl	$0, %r15d
	je	LBB0_3
LBB0_12:
	movl	%ebx, %ecx
LBB0_1:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_TLV_HAO,4,2               ## @IPV6_TLV_HAO
	.no_dead_strip	_mip6_rthdr_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mip6_rthdr_offset
_mip6_rthdr_offset:                     ; @mip6_rthdr_offset
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x0, x1
	bl	_ipv6_hdr
	mov	x21, x0
	mov	x0, x20
	bl	_skb_network_header
	mov	x22, x0
	ldp	w8, w9, [x20]
	sub	w24, w8, w9
	mov	x0, x20
	bl	_ipv6_hdr
	str	x0, [x19]
	cmp	w24, #5
	b.hs	LBB0_3
; %bb.1:
	mov	w21, #4
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w26, #0
	add	x23, x21, #4
	mov	w21, #4
Lloh0:
	adrp	x25, _IPV6_TLV_HAO@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IPV6_TLV_HAO@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w26, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_ipv6_optlen
	add	w21, w21, w0
	str	x23, [x19]
	mov	x0, x23
	add	x23, x22, w21, sxtw
	add	w8, w21, #1
	cmp	w8, w24
	b.hi	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w21, #3
	cmp	w8, w24
	b.hi	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, w21, sxtw]
	cbz	w8, LBB0_4
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_ipv6_find_tlv
	tbz	w0, #31, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	w26, LBB0_5
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_TLV_HAO,4,2               ; @IPV6_TLV_HAO
	.no_dead_strip	_mip6_rthdr_offset
.subsections_via_symbols
