	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bits2mask6
_bits2mask6:                            ## @bits2mask6
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.1:
	cmpl	$1, %r14d
	jne	LBB0_3
## %bb.2:
	movl	$128, %esi
                                        ## implicit-def: $rax
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %ecx
	andl	$-2, %ecx
	movl	$128, %edx
                                        ## implicit-def: $rax
	movl	$128, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	testl	%edi, %edi
	sete	%sil
	cmovel	%edx, %edi
	leaq	(%rax,%rsi,4), %rbx
	orl	%edi, (%rax,%rsi,4)
	movl	%edi, %esi
	sarl	%esi
	xorl	%eax, %eax
	cmpl	$2, %edi
	cmovbl	%edx, %esi
	setb	%al
	orl	%esi, (%rbx,%rax,4)
	leaq	(%rbx,%rax,4), %rax
	sarl	%esi
	movl	%esi, %edi
	addl	$-2, %ecx
	jne	LBB0_4
LBB0_5:
	testb	$1, %r14b
	je	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	testl	%esi, %esi
	movl	$128, %edx
	cmovnel	%esi, %edx
	sete	%cl
	orl	%edx, (%rax,%rcx,4)
LBB0_7:
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bits2mask6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bits2mask6
_bits2mask6:                            ; @bits2mask6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cbz	w19, LBB0_3
; %bb.1:
	mov	w8, #128
                                        ; implicit-def: $x9
	mov	w10, #128
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #0
	csel	w10, w8, w10, eq
	cset	w11, eq
	add	x9, x9, w11, uxtw #2
	ldr	w11, [x9]
	orr	w11, w11, w10
	str	w11, [x9]
	asr	w10, w10, #1
	subs	w19, w19, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bits2mask6
.subsections_via_symbols
