	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_parse_hopopts             ## -- Begin function ipv6_parse_hopopts
	.p2align	4, 0x90
_ipv6_parse_hopopts:                    ## @ipv6_parse_hopopts
	.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, %rbx
	callq	_IP6CB
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_transport_header
	movl	4(%rax), %eax
	leal	12(,%rax,8), %esi
	movq	%rbx, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	$4, (%r14)
	movq	_tlvprochopopt_lst@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ip6_parse_tlv
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_skb_transport_header
	movl	4(%rax), %eax
	movl	(%rbx), %ecx
	leal	(%rcx,%rax,8), %eax
	addl	$8, %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_IP6CB
	movl	$4, 4(%rax)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_5:
	movl	$-1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tlvprochopopt_lst,4,2          ## @tlvprochopopt_lst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_parse_hopopts             ; -- Begin function ipv6_parse_hopopts
	.p2align	2
_ipv6_parse_hopopts:                    ; @ipv6_parse_hopopts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_IP6CB
	mov	x20, x0
	mov	x0, x19
	mov	w1, #12
	bl	_pskb_may_pull
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_skb_transport_header
	ldr	w8, [x0, #4]
	lsl	w8, w8, #3
	add	w1, w8, #12
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_4
; %bb.2:
	mov	w21, #4
	str	w21, [x20]
Lloh0:
	adrp	x8, _tlvprochopopt_lst@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tlvprochopopt_lst@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ip6_parse_tlv
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_skb_transport_header
	ldr	w8, [x0, #4]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #3
	add	w8, w8, #8
	str	w8, [x19]
	mov	x0, x19
	bl	_IP6CB
	str	w21, [x0, #4]
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_kfree_skb
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tlvprochopopt_lst,4,2          ; @tlvprochopopt_lst
.subsections_via_symbols
