	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbs_vp9_read_increment
_cbs_vp9_read_increment:                ## @cbs_vp9_read_increment
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	subl	%edx, %r13d
	setge	%al
	cmpl	$7, %r13d
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_av_assert0
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_get_bits_count
	movl	%eax, %esi
	jmp	LBB0_3
LBB0_1:
                                        ## implicit-def: $esi
LBB0_3:
	xorl	%eax, %eax
	cmpl	%ebx, -64(%rbp)                 ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.5:
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$49, -56(%rbp,%r12)
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_6
## %bb.10:
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%r13d, %eax
	jmp	LBB0_12
LBB0_4:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_7:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_11:
	leal	1(%r12), %eax
	movl	%r12d, %ecx
	movb	$48, -56(%rbp,%rcx)
	addl	%r12d, %ebx
LBB0_12:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
LBB0_13:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, (%rdi)
	je	LBB0_15
## %bb.14:
	cltq
	movb	$0, -56(%rbp,%rax)
	leaq	-56(%rbp), %r8
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movl	%ebx, %r9d
	callq	_ff_cbs_trace_syntax_element
LBB0_15:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid increment value at %s: bitstream ended.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_cbs_vp9_read_increment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbs_vp9_read_increment
_cbs_vp9_read_increment:                ; @cbs_vp9_read_increment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x19, x4
	mov	x24, x3
	mov	x21, x2
	mov	x25, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	subs	w26, w3, w2
	ccmp	w26, #7, #2, ge
	cset	w0, lo
	bl	_av_assert0
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x0, x25
	bl	_get_bits_count
	mov	x1, x0
	cmp	w24, w21
	b.le	LBB0_8
LBB0_2:
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	mov	x27, #0
	add	x28, sp, #16
	mov	w23, #49
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_get_bits_left
	cmp	w0, #0
	b.le	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_get_bits1
	cbz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w23, [x28, x27]
	add	x8, x27, #1
	mov	x27, x8
	cmp	x26, x8
	b.ne	LBB0_3
; %bb.6:
	mov	x21, x24
	b	LBB0_15
LBB0_7:
                                        ; implicit-def: $w1
	cmp	w24, w21
	b.gt	LBB0_2
LBB0_8:
	mov	w26, #0
	ldr	x8, [x22]
	cbz	x8, LBB0_10
LBB0_9:
	add	x8, sp, #16
	strb	wzr, [x8, w26, sxtw]
	add	x4, sp, #16
	mov	x0, x22
	mov	x2, x19
	mov	x3, #0
	mov	x5, x21
	bl	_ff_cbs_trace_syntax_element
LBB0_10:
	mov	w0, #0
	str	w21, [x20]
LBB0_11:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	ldr	w0, [x22, #8]
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_av_log
Lloh11:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_14:
	add	w26, w27, #1
	add	x8, sp, #16
	mov	w9, #48
	strb	w9, [x8, w27, uxtw]
	add	w21, w21, w27
LBB0_15:
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	ldr	x8, [x22]
	cbnz	x8, LBB0_9
	b	LBB0_10
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid increment value at %s: bitstream ended.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_cbs_vp9_read_increment
.subsections_via_symbols
