	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_ext_hdr                   ## -- Begin function ipv6_ext_hdr
	.p2align	4, 0x90
_ipv6_ext_hdr:                          ## @ipv6_ext_hdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NEXTHDR_HOP@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	sete	%al
	movq	_NEXTHDR_ROUTING@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	sete	%cl
	orb	%al, %cl
	movq	_NEXTHDR_FRAGMENT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	sete	%al
	movq	_NEXTHDR_AUTH@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	sete	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movq	_NEXTHDR_NONE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	sete	%al
	movq	_NEXTHDR_DEST@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	sete	%cl
	orb	%al, %cl
	orb	%dl, %cl
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEXTHDR_HOP,8,3                ## @NEXTHDR_HOP
	.comm	_NEXTHDR_ROUTING,8,3            ## @NEXTHDR_ROUTING
	.comm	_NEXTHDR_FRAGMENT,8,3           ## @NEXTHDR_FRAGMENT
	.comm	_NEXTHDR_AUTH,8,3               ## @NEXTHDR_AUTH
	.comm	_NEXTHDR_NONE,8,3               ## @NEXTHDR_NONE
	.comm	_NEXTHDR_DEST,8,3               ## @NEXTHDR_DEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_ext_hdr                   ; -- Begin function ipv6_ext_hdr
	.p2align	2
_ipv6_ext_hdr:                          ; @ipv6_ext_hdr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NEXTHDR_HOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEXTHDR_HOP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
Lloh3:
	adrp	x8, _NEXTHDR_ROUTING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NEXTHDR_ROUTING@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x8, x0, #4, ne
Lloh6:
	adrp	x8, _NEXTHDR_FRAGMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NEXTHDR_FRAGMENT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ccmp	x8, x0, #4, ne
Lloh9:
	adrp	x8, _NEXTHDR_AUTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NEXTHDR_AUTH@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ccmp	x8, x0, #4, ne
Lloh12:
	adrp	x8, _NEXTHDR_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NEXTHDR_NONE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ccmp	x8, x0, #4, ne
Lloh15:
	adrp	x8, _NEXTHDR_DEST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NEXTHDR_DEST@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ccmp	x8, x0, #4, ne
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NEXTHDR_HOP,8,3                ; @NEXTHDR_HOP
	.comm	_NEXTHDR_ROUTING,8,3            ; @NEXTHDR_ROUTING
	.comm	_NEXTHDR_FRAGMENT,8,3           ; @NEXTHDR_FRAGMENT
	.comm	_NEXTHDR_AUTH,8,3               ; @NEXTHDR_AUTH
	.comm	_NEXTHDR_NONE,8,3               ; @NEXTHDR_NONE
	.comm	_NEXTHDR_DEST,8,3               ; @NEXTHDR_DEST
.subsections_via_symbols
