	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ipv6hdr
_parse_ipv6hdr:                         ## @parse_ipv6hdr
	.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, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_skb_network_offset
	movl	%eax, %r15d
	movq	_ipv6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SW_FLOW_KEY_OFFSET
	movl	%eax, (%rbx)
	leal	16(%r15), %esi
	movq	%r13, %rdi
	callq	_check_header
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ipv6_hdr
	movq	%rax, %r12
	movl	12(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%r12, %rbx
	subq	(%r13), %rbx
	addq	$16, %rbx
	shrq	$2, %rbx
	movq	_NEXTHDR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_ipv6_get_dsfield
	movl	%eax, 12(%r14)
	movl	8(%r12), %eax
	movl	%eax, 8(%r14)
	movl	(%r12), %r15d
	movq	_IPV6_FLOWINFO_FLOWLABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	andl	%r15d, %eax
	movl	%eax, 16(%r14)
	movl	4(%r12), %eax
	movl	%eax, 24(%r14)
	movl	%r15d, 20(%r14)
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_ipv6_skip_exthdr_fragoff
	movl	%eax, %r12d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movl	-48(%rbp), %ebx
	testl	%ebx, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_8
## %bb.4:
	movl	$-8, %edi
	callq	_htons
	testl	%ebx, %eax
	jne	LBB0_5
## %bb.6:
	movq	_OVS_FRAG_TYPE_FIRST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_OVS_FRAG_TYPE_LATER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_8:
	movl	%r12d, %ebx
	subl	%r15d, %ebx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_set_transport_header
	movl	-44(%rbp), %eax
	movl	%eax, (%r14)
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipv6,4,2                       ## @ipv6
	.comm	_NEXTHDR_NONE,4,2               ## @NEXTHDR_NONE
	.comm	_IPV6_FLOWINFO_FLOWLABEL,4,2    ## @IPV6_FLOWINFO_FLOWLABEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OVS_FRAG_TYPE_LATER,4,2        ## @OVS_FRAG_TYPE_LATER
	.comm	_OVS_FRAG_TYPE_FIRST,4,2        ## @OVS_FRAG_TYPE_FIRST
	.no_dead_strip	_parse_ipv6hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ipv6hdr
_parse_ipv6hdr:                         ; @parse_ipv6hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_skb_network_offset
	mov	x21, x0
Lloh0:
	adrp	x8, _ipv6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipv6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SW_FLOW_KEY_OFFSET
	str	w0, [x22]
	add	w1, w21, #16
	mov	x0, x20
	bl	_check_header
	mov	x23, x0
	bl	_unlikely
	cbnz	x0, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_ipv6_hdr
	mov	x22, x0
	ldr	w8, [x0, #12]
	str	w8, [sp, #12]
	ldr	x8, [x20]
	sub	x8, x0, x8
	add	x8, x8, #16
	lsr	x23, x8, #2
Lloh3:
	adrp	x8, _NEXTHDR_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NEXTHDR_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	bl	_ipv6_get_dsfield
	ldr	w8, [x22, #8]
	stp	w8, w0, [x19, #8]
Lloh6:
	adrp	x8, _IPV6_FLOWINFO_FLOWLABEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPV6_FLOWINFO_FLOWLABEL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htonl
	ldr	d0, [x22]
	stur	d0, [x19, #20]
	fmov	w8, s0
	and	w8, w0, w8
	str	w8, [x19, #16]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x23
	bl	_ipv6_skip_exthdr_fragoff
	mov	x22, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_6
LBB0_3:
	ldr	w23, [sp, #8]
	cbz	w23, LBB0_5
; %bb.4:
	mov	w0, #-8
	bl	_htons
Lloh12:
	adrp	x8, _OVS_FRAG_TYPE_FIRST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OVS_FRAG_TYPE_FIRST@GOTPAGEOFF]
Lloh14:
	adrp	x9, _OVS_FRAG_TYPE_LATER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OVS_FRAG_TYPE_LATER@GOTPAGEOFF]
	tst	w0, w23
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_5:
	sub	w23, w22, w21
	mov	x0, x20
	mov	x1, x22
	bl	_skb_set_transport_header
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_6:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ipv6,4,2                       ; @ipv6
	.comm	_NEXTHDR_NONE,4,2               ; @NEXTHDR_NONE
	.comm	_IPV6_FLOWINFO_FLOWLABEL,4,2    ; @IPV6_FLOWINFO_FLOWLABEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OVS_FRAG_TYPE_LATER,4,2        ; @OVS_FRAG_TYPE_LATER
	.comm	_OVS_FRAG_TYPE_FIRST,4,2        ; @OVS_FRAG_TYPE_FIRST
	.no_dead_strip	_parse_ipv6hdr
.subsections_via_symbols
