	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lag_rac_refill
_lag_rac_refill:                        ## @lag_rac_refill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ecx
	cmpl	$8388608, %ecx                  ## imm = 0x800000
	jg	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	movq	8(%rdi), %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	24(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	cmpl	$8388609, %ecx                  ## imm = 0x800001
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %eax
	movl	%eax, 4(%rbx)
	shll	$8, %ecx
	movl	%ecx, (%rbx)
	callq	_AV_RB16
	shrl	%eax
	movzbl	%al, %eax
	orl	4(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rdi
	cmpq	16(%rbx), %rdi
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movq	%rdi, 8(%rbx)
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lag_rac_refill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lag_rac_refill
_lag_rac_refill:                        ; @lag_rac_refill
	.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
	ldr	w9, [x0]
	cmp	w9, #2048, lsl #12              ; =8388608
	b.gt	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	w20, #1
	movk	w20, #128, lsl #16
	ldr	w8, [x0, #4]
	ldr	x0, [x0, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19, #24]
	add	w9, w9, #1
	str	w9, [x19, #24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	cmp	w9, w20
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w8, #8
	lsl	w9, w9, #8
	stp	w9, w8, [x19]
	bl	_AV_RB16
	ubfx	w8, w0, #1, #8
	ldr	w9, [x19, #4]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	ldp	x0, x9, [x19, #8]
	cmp	x0, x9
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #1
	str	x0, [x19, #8]
	b	LBB0_3
LBB0_6:
	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	_lag_rac_refill
.subsections_via_symbols
