	.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	_littlenum_pointer@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	movq	_littlenum_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	jb	LBB0_5
## %bb.1:
	movq	_bits_left_in_littlenum@GOTPCREL(%rip), %r10
	movslq	(%r10), %rcx
	cmpl	%edi, %ecx
	jle	LBB0_2
## %bb.4:
	subl	%edi, %ecx
	movl	%ecx, (%r10)
	movq	_mask@GOTPCREL(%rip), %rsi
	movl	(%rdx), %eax
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	movq	(%rsi), %rcx
	movslq	%edi, %rdx
	andl	(%rcx,%rdx,4), %eax
	jmp	LBB0_5
LBB0_2:
	movq	_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	(%rdx), %eax
	andl	(%r9,%rcx,4), %eax
	subl	%ecx, %edi
	movl	%edi, %ecx
	shll	%cl, %eax
	movq	_LITTLENUM_NUMBER_OF_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edi, %ecx
	movl	%ecx, (%r10)
	addq	$-4, %rdx
	movq	%rdx, (%r8)
	cmpq	%rsi, %rdx
	jae	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movslq	%edi, %rcx
	andl	(%r9,%rcx,4), %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_littlenum_pointer,8,3          ## @littlenum_pointer
	.comm	_littlenum_end,8,3              ## @littlenum_end
	.comm	_bits_left_in_littlenum,4,2     ## @bits_left_in_littlenum
	.comm	_mask,8,3                       ## @mask
	.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, _littlenum_pointer@GOTPAGE
Lloh1:
	ldr	x9, [x9, _littlenum_pointer@GOTPAGEOFF]
	ldr	x8, [x9]
Lloh2:
	adrp	x10, _littlenum_end@GOTPAGE
Lloh3:
	ldr	x10, [x10, _littlenum_end@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x8, x10
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh5:
	adrp	x11, _bits_left_in_littlenum@GOTPAGE
Lloh6:
	ldr	x11, [x11, _bits_left_in_littlenum@GOTPAGEOFF]
	ldrsw	x13, [x11]
	cmp	w13, w0
	b.le	LBB0_4
; %bb.3:
	sub	w9, w13, w0
	str	w9, [x11]
Lloh7:
	adrp	x10, _mask@GOTPAGE
Lloh8:
	ldr	x10, [x10, _mask@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	ldr	w10, [x10, w0, sxtw #2]
	ldr	w8, [x8]
	asr	w8, w8, w9
	and	w0, w8, w10
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x12, _mask@GOTPAGE
Lloh11:
	ldr	x12, [x12, _mask@GOTPAGEOFF]
Lloh12:
	ldr	x12, [x12]
	ldr	w14, [x12, x13, lsl #2]
	ldr	w15, [x8], #-4
	and	w15, w15, w14
Lloh13:
	adrp	x14, _LITTLENUM_NUMBER_OF_BITS@GOTPAGE
Lloh14:
	ldr	x14, [x14, _LITTLENUM_NUMBER_OF_BITS@GOTPAGEOFF]
Lloh15:
	ldr	w14, [x14]
	sub	w13, w0, w13
	sub	w14, w14, w13
	lsl	w0, w15, w13
	str	w14, [x11]
	str	x8, [x9]
	cmp	x8, x10
	b.hs	LBB0_6
LBB0_5:
	ret
LBB0_6:
	ldr	w8, [x8]
	asr	w8, w8, w14
	ldr	w9, [x12, w13, sxtw #2]
	and	w8, w8, w9
	orr	w0, w8, w0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_littlenum_pointer,8,3          ; @littlenum_pointer
	.comm	_littlenum_end,8,3              ; @littlenum_end
	.comm	_bits_left_in_littlenum,4,2     ; @bits_left_in_littlenum
	.comm	_mask,8,3                       ; @mask
	.comm	_LITTLENUM_NUMBER_OF_BITS,4,2   ; @LITTLENUM_NUMBER_OF_BITS
	.no_dead_strip	_next_bits
.subsections_via_symbols
