	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on2avc_read_ms_info
_on2avc_read_ms_info:                   ## @on2avc_read_ms_info
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_get_bits1
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rdi
	shlq	$3, %rdi
	addq	8(%r13), %rdi
	movslq	4(%r13), %rax
	leal	(,%rax,8), %edx
	shlq	$3, %rax
	movq	%rdi, %rsi
	subq	%rax, %rsi
	callq	_memcpy
	addl	4(%r13), %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%r13), %rax
	cmpl	$0, (%rax,%r15,4)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 4(%r13)
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rbx
	shlq	$3, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_get_bits1
	movq	8(%r13), %rcx
	addq	%rbx, %rcx
	movq	%rax, (%rcx,%r12,8)
	incq	%r12
	cmpl	4(%r13), %r12d
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	%r12d, %ebx
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_on2avc_read_ms_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on2avc_read_ms_info
_on2avc_read_ms_info:                   ; @on2avc_read_ms_info
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_get_bits1
	str	x0, [x20, #24]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x21, #0
	mov	w22, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, w22, sxtw #3
	ldrsw	x8, [x20, #4]
	sub	x1, x0, x8, lsl #3
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	w8, [x20, #4]
	add	w22, w8, w22
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x21, lsl #2]
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
	sbfiz	x24, x22, #3, #32
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_get_bits1
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	str	x0, [x8, x23, lsl #3]
	ldr	w8, [x20, #4]
	add	x23, x23, #1
	cmp	w23, w8
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, w23
	b	LBB0_4
LBB0_10:
	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	_on2avc_read_ms_info
.subsections_via_symbols
