	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getBITS
_getBITS:                               ## @getBITS
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r8d
	leal	7(%r8), %r9d
	testl	%r8d, %r8d
	cmovnsl	%r8d, %r9d
	movl	%r9d, %r10d
	sarl	$3, %r10d
	xorl	%eax, %eax
	cmpl	%ecx, %r10d
	jge	LBB0_2
## %bb.1:
	andl	$-8, %r9d
	movl	%r8d, %eax
	subl	%r9d, %eax
	addl	%edx, %r8d
	movl	%r8d, (%rsi)
	movslq	%r10d, %rcx
	movzbl	(%rdi,%rcx), %esi
	addl	%edx, %eax
	movb	$8, %cl
	subb	%al, %cl
	shrl	%cl, %esi
	movl	$-1, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	notl	%eax
	andl	%esi, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getBITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getBITS
_getBITS:                               ; @getBITS
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #3
	cmp	w9, w3
	b.ge	LBB0_2
; %bb.1:
	sub	w10, w8, w9, lsl #3
	add	w8, w8, w2
	str	w8, [x1]
	ldrb	w8, [x0, w9, sxtw]
	mov	w9, #8
	add	w10, w10, w2
	sub	w9, w9, w10
	lsr	w8, w8, w9
	mov	w9, #-1
	lsl	w9, w9, w2
	bic	w0, w8, w9
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getBITS
.subsections_via_symbols
