	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refill
_refill:                                ## @refill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	addl	(%rdi), %ecx
	movq	_CABAC_MASK@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movl	%ecx, (%rdi)
	cmpq	16(%rdi), %rax
	jae	LBB0_2
## %bb.1:
	movq	_CABAC_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, 8(%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CABAC_MASK,8,3                 ## @CABAC_MASK
	.comm	_CABAC_BITS,4,2                 ## @CABAC_BITS
	.no_dead_strip	_refill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refill
_refill:                                ; @refill
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0, #8]
	ldr	w10, [x8]
	ldr	w11, [x0]
	add	w10, w11, w10, lsl #1
Lloh0:
	adrp	x11, _CABAC_MASK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CABAC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	sub	w10, w10, w11
	str	w10, [x0]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _CABAC_BITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CABAC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	add	x8, x8, w9, sxtw #2
	str	x8, [x0, #8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CABAC_MASK,8,3                 ; @CABAC_MASK
	.comm	_CABAC_BITS,4,2                 ; @CABAC_BITS
	.no_dead_strip	_refill
.subsections_via_symbols
