	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv9_get_frame_data
_rv9_get_frame_data:                    ## @rv9_get_frame_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movq	8(%r13), %rsi
	subq	(%r13), %rsi
	jle	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_MIN
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	(%r13), %rsi
	addq	16(%r13), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	leaq	(%r12,%rbx,4), %r12
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	jg	LBB0_7
	jmp	LBB0_11
LBB0_3:
	xorl	%r12d, %r12d
LBB0_5:
	subq	%rbx, %r14
	testq	%r14, %r14
	jle	LBB0_11
LBB0_7:
	movq	%r15, %rdi
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_READ_BYTES
	jmp	LBB0_10
LBB0_9:
	movq	%r14, %rsi
	callq	_SKIP_BYTES
LBB0_10:
	addq	%rax, %rbx
LBB0_11:
	addq	%rbx, (%r13)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rv9_get_frame_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv9_get_frame_data
_rv9_get_frame_data:                    ; @rv9_get_frame_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	ldp	x8, x9, [x23]
	subs	x1, x9, x8
	b.le	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_MIN
	mov	x19, x0
	cbz	x22, LBB0_3
; %bb.2:
	ldr	x8, [x23, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x22
	mov	x2, x19
	bl	_memcpy
	add	x22, x22, x19, lsl #2
LBB0_3:
	sub	x20, x20, x19
	cmp	x20, #1
	b.ge	LBB0_5
	b	LBB0_9
LBB0_4:
	mov	x19, #0
	cmp	x20, #1
	b.lt	LBB0_9
LBB0_5:
	mov	x0, x21
	cbz	x22, LBB0_7
; %bb.6:
	mov	x1, x22
	mov	x2, x20
	bl	_READ_BYTES
	b	LBB0_8
LBB0_7:
	mov	x1, x20
	bl	_SKIP_BYTES
LBB0_8:
	add	x19, x0, x19
LBB0_9:
	ldr	x8, [x23]
	add	x8, x8, x19
	str	x8, [x23]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rv9_get_frame_data
.subsections_via_symbols
