	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prmask
_prmask:                                ## @prmask
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	$11, %rdx
	setae	%dil
	callq	_assert
	movw	$30768, (%r15)                  ## imm = 0x7830
	movq	(%r14), %rdi
	callq	___arraycount
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movl	$2, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	-4(%rax,%r12,4), %ebx
	movl	%ebx, %edi
	shrl	$12, %edi
	andl	$15, %edi
	callq	_xtoa
	movb	%al, (%r15,%r13)
	movl	%ebx, %edi
	shrl	$8, %edi
	andl	$15, %edi
	callq	_xtoa
	movb	%al, 1(%r15,%r13)
	movl	%ebx, %edi
	shrl	$4, %edi
	andl	$15, %edi
	callq	_xtoa
	movb	%al, 2(%r15,%r13)
	andl	$15, %ebx
	movl	%ebx, %edi
	callq	_xtoa
	leaq	4(%r13), %rcx
	movb	%al, 3(%r15,%r13)
	movq	%rcx, %r13
	decq	%r12
	jne	LBB0_4
	jmp	LBB0_2
LBB0_1:
	movl	$2, %ecx
LBB0_2:
	movb	$0, (%r15,%rcx)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prmask
_prmask:                                ; @prmask
	.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	x20, x0
	cmp	x2, #10
	cset	w0, hi
	bl	_assert
	mov	w8, #30768
	strh	w8, [x19]
	ldr	x0, [x20]
	bl	___arraycount
	cbz	x0, LBB0_3
; %bb.1:
	sub	x22, x0, #1
	mov	w21, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w23, [x8, x22, lsl #2]
	ubfx	w0, w23, #12, #4
	bl	_xtoa
	add	x24, x19, x21
	strb	w0, [x24]
	ubfx	w0, w23, #8, #4
	bl	_xtoa
	strb	w0, [x24, #1]
	ubfx	w0, w23, #4, #4
	bl	_xtoa
	strb	w0, [x24, #2]
	and	w0, w23, #0xf
	bl	_xtoa
	add	x21, x21, #4
	strb	w0, [x24, #3]
	sub	x22, x22, #1
	cmn	x22, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #2
LBB0_4:
	strb	wzr, [x19, x21]
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prmask
.subsections_via_symbols
