	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plen2mask
_plen2mask:                             ## @plen2mask
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$12, (%rbx)
	cmpl	$8, %r15d
	jl	LBB0_2
## %bb.1:
	cmpl	$15, %r15d
	movl	$15, %eax
	cmovll	%r15d, %eax
	negl	%eax
	leal	(%r15,%rax), %r12d
	addl	$7, %r12d
	movl	%r12d, %r13d
	shrl	$3, %r13d
	leaq	4(,%r13,4), %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	movq	%r14, %rdi
	callq	_memset_pattern16
	leaq	(%rbx,%r13,4), %r14
	addq	$12, %r14
	andl	$-8, %r12d
	negl	%r12d
	addl	%r12d, %r15d
	addl	$-8, %r15d
LBB0_2:
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.3:
	movb	$8, %cl
	subb	%r15b, %cl
	movl	$255, %eax
	shll	%cl, %eax
	movl	%eax, (%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.no_dead_strip	_plen2mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plen2mask
_plen2mask:                             ; @plen2mask
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x21, x0
	add	x20, x0, #8
	mov	w22, #12
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w22, w8, [x21]
	cmp	w19, #8
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #15
	cmp	w19, #15
	csel	w8, w19, w8, lt
	sub	w8, w19, w8
	add	w22, w8, #7
	lsr	w8, w22, #3
	lsl	x23, x8, #2
	add	x2, x23, #4
Lloh3:
	adrp	x1, l_.memset_pattern@PAGE
Lloh4:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	x0, x20
	bl	_memset_pattern16
	add	x8, x21, x23
	add	x20, x8, #12
	and	w8, w22, #0xfffffff8
	sub	w8, w19, w8
	sub	w19, w8, #8
LBB0_2:
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.3:
	mov	w8, #8
	sub	w8, w8, w19
	mov	w9, #255
	lsl	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.no_dead_strip	_plen2mask
.subsections_via_symbols
