	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_bits
_next_bits:                             ## @next_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_littlenums_left@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	_bits_left_in_littlenum@GOTPCREL(%rip), %r9
	movslq	(%r9), %rcx
	cmpl	%edi, %ecx
	jle	LBB0_4
## %bb.2:
	subl	%edi, %ecx
	movl	%ecx, (%r9)
	movq	_mask@GOTPCREL(%rip), %rdx
	movq	_littlenum_pointer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	movq	(%rdx), %rcx
	movslq	%edi, %rdx
	andl	(%rcx,%rdx,4), %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_littlenum_pointer@GOTPCREL(%rip), %r11
	movq	(%r11), %r10
	movl	(%r10), %eax
	andl	(%r8,%rcx,4), %eax
	subl	%ecx, %edi
	movl	%edi, %ecx
	shll	%cl, %eax
	decq	%rdx
	movq	%rdx, (%rsi)
	je	LBB0_6
## %bb.5:
	movq	_LITTLENUM_NUMBER_OF_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edi, %ecx
	movl	%ecx, (%r9)
	leaq	-4(%r10), %rdx
	movq	%rdx, (%r11)
	movl	-4(%r10), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movslq	%edi, %rcx
	andl	(%r8,%rcx,4), %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_littlenums_left,8,3            ## @littlenums_left
	.comm	_bits_left_in_littlenum,4,2     ## @bits_left_in_littlenum
	.comm	_mask,8,3                       ## @mask
	.comm	_littlenum_pointer,8,3          ## @littlenum_pointer
	.comm	_LITTLENUM_NUMBER_OF_BITS,4,2   ## @LITTLENUM_NUMBER_OF_BITS
	.no_dead_strip	_next_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_bits
_next_bits:                             ; @next_bits
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _littlenums_left@GOTPAGE
Lloh1:
	ldr	x9, [x9, _littlenums_left@GOTPAGEOFF]
	ldr	x11, [x9]
	cbz	x11, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _bits_left_in_littlenum@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bits_left_in_littlenum@GOTPAGEOFF]
	ldrsw	x14, [x8]
	cmp	w14, w0
	b.le	LBB0_5
; %bb.2:
	sub	w9, w14, w0
	str	w9, [x8]
Lloh4:
	adrp	x8, _mask@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mask@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
Lloh7:
	adrp	x10, _littlenum_pointer@GOTPAGE
Lloh8:
	ldr	x10, [x10, _littlenum_pointer@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	ldr	w10, [x10]
	asr	w9, w10, w9
	and	w0, w9, w8
LBB0_3:
	ret
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
Lloh10:
	adrp	x10, _mask@GOTPAGE
Lloh11:
	ldr	x10, [x10, _mask@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	ldr	w15, [x10, x14, lsl #2]
Lloh13:
	adrp	x12, _littlenum_pointer@GOTPAGE
Lloh14:
	ldr	x12, [x12, _littlenum_pointer@GOTPAGEOFF]
	ldr	x13, [x12]
	ldr	w16, [x13]
	and	w15, w16, w15
	sub	w14, w0, w14
	lsl	w0, w15, w14
	subs	x11, x11, #1
	str	x11, [x9]
	b.eq	LBB0_3
; %bb.6:
Lloh15:
	adrp	x9, _LITTLENUM_NUMBER_OF_BITS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LITTLENUM_NUMBER_OF_BITS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	sub	w9, w9, w14
	str	w9, [x8]
	ldr	w8, [x13, #-4]!
	str	x13, [x12]
	asr	w8, w8, w9
	ldr	w9, [x10, w14, sxtw #2]
	and	w8, w8, w9
	orr	w0, w8, w0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_littlenums_left,8,3            ; @littlenums_left
	.comm	_bits_left_in_littlenum,4,2     ; @bits_left_in_littlenum
	.comm	_mask,8,3                       ; @mask
	.comm	_littlenum_pointer,8,3          ; @littlenum_pointer
	.comm	_LITTLENUM_NUMBER_OF_BITS,4,2   ; @LITTLENUM_NUMBER_OF_BITS
	.no_dead_strip	_next_bits
.subsections_via_symbols
