	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_rthdr_segments           ## -- Begin function inet6_rthdr_segments
	.p2align	4, 0x90
_inet6_rthdr_segments:                  ## @inet6_rthdr_segments
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_CMSG_DATA
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpl	$128, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	(%rcx), %ecx
	leal	(%rcx,%rcx), %eax
	testb	$1, %cl
	movl	$-1, %edx
	cmovnel	%edx, %eax
	cmpl	$47, %ecx
	cmovgel	%edx, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_rthdr_segments           ; -- Begin function inet6_rthdr_segments
	.p2align	2
_inet6_rthdr_segments:                  ; @inet6_rthdr_segments
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_CMSG_DATA
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #46
	cset	w9, gt
	orr	w9, w9, w8
	lsl	w8, w8, #1
	tst	w9, #0x1
	csinv	w0, w8, wzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
