	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bits_to_text
_bits_to_text:                          ## @bits_to_text
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	1(%r14), %edi
	callq	_palloc
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	movl	%r14d, %r8d
	cmpl	$1, %r14d
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%r8d, %r8d
	jmp	LBB0_8
LBB0_4:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rdi
	shrq	%rdi
	andl	$2147483644, %edi               ## imm = 0x7FFFFFFC
	movl	(%r15,%rdi), %ecx
	movl	%edx, %ebx
	andb	$6, %bl
	movzbl	%bl, %ebx
	btl	%ebx, %ecx
	movl	$0, %ecx
	adcb	$48, %cl
	movb	%cl, (%rax,%rdx)
	movl	(%r15,%rdi), %ecx
	leal	1(%rdx), %edi
	andb	$7, %dil
	movzbl	%dil, %edi
	btl	%edi, %ecx
	movl	$0, %ecx
	adcb	$48, %cl
	movb	%cl, 1(%rax,%rdx)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	movq	%rdx, %rcx
	shrq	%rcx
	andl	$2147483644, %ecx               ## imm = 0x7FFFFFFC
	movl	(%r15,%rcx), %ecx
	movl	%edx, %ebx
	andb	$7, %bl
	movzbl	%bl, %esi
	xorl	%edi, %edi
	btl	%esi, %ecx
	adcb	$48, %dil
	movb	%dil, (%rax,%rdx)
LBB0_8:
	movb	$0, (%rax,%r8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bits_to_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bits_to_text
_bits_to_text:                          ; @bits_to_text
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	w0, w1, #1
	bl	_palloc
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	mov	w8, w20
	mov	w10, #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ubfx	x11, x9, #3, #29
	ldr	w11, [x19, x11, lsl #2]
	and	w12, w9, #0x7
	lsr	w11, w11, w12
	tst	w11, #0x1
	cinc	w11, w10, ne
	strb	w11, [x0, x9]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x8, #0
LBB0_4:
	strb	wzr, [x0, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bits_to_text
.subsections_via_symbols
