	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_partitions
_setup_partitions:                      ## @setup_partitions
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r13
	addq	$24, %rdi
	movl	$2, %esi
	callq	_vp8_rac_get_uint
	movl	%eax, %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movl	$3, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%eax, (%r13)
	addl	$-3, %edx
	subl	%edx, %ebx
	js	LBB0_6
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rcx
	leaq	(%r15,%rcx,4), %rbx
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.2:
	movq	%r15, %rdi
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_AV_RL24
	subl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	movq	8(%r13), %rax
	movl	%r14d, (%rax,%r12)
	movq	16(%r13), %rdi
	addq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ff_vp56_init_range_decoder
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %rax
	leaq	(%rbx,%rax,4), %rbx
	incq	%r15
	movslq	(%r13), %rax
	decq	%rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$12, %rdi
	addq	$4, %r12
	cmpq	%rax, %r15
	jl	LBB0_3
	jmp	LBB0_8
LBB0_6:
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_7:
	xorl	%r15d, %r15d
LBB0_8:
	movq	8(%r13), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rax,%r15,4)
	shlq	$2, %r15
	addq	16(%r13), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_vp56_init_range_decoder
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
                                        ## kill: def $eax killed $eax def $rax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setup_partitions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_partitions
_setup_partitions:                      ; @setup_partitions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #24
	mov	w1, #2
	bl	_vp8_rac_get_uint
	mov	w8, #1
	lsl	w8, w8, w0
	str	w8, [x19]
	mov	w9, #3
	lsl	w9, w9, w0
	sub	w9, w9, #3
	subs	w20, w20, w9
	b.mi	LBB0_6
; %bb.1:
	add	x22, x21, w9, sxtw #2
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	mov	x25, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_AV_RL24
	subs	w20, w20, w0
	b.mi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldp	x8, x9, [x19, #8]
	str	w0, [x8, x25]
	add	x0, x9, x25
	mov	x1, x22
	mov	x2, x23
	bl	_ff_vp56_init_range_decoder
	tbnz	w0, #31, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, w23, sxtw #2
	add	x24, x24, #1
	ldrsw	x8, [x19]
	sub	x8, x8, #1
	add	x21, x21, #12
	add	x25, x25, #4
	cmp	x24, x8
	b.lt	LBB0_3
	b	LBB0_8
LBB0_6:
	mov	w0, #-1
	b	LBB0_9
LBB0_7:
	mov	x24, #0
LBB0_8:
	lsl	x8, x24, #2
	ldp	x9, x10, [x19, #8]
	str	w20, [x9, x8]
	add	x0, x10, x8
	mov	x1, x22
	mov	x2, x20
	bl	_ff_vp56_init_range_decoder
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setup_partitions
.subsections_via_symbols
