	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_seq_header
_decode_seq_header:                     ## @decode_seq_header
	.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	%rdi, %r14
	leaq	32(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	%rax, 56(%r14)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	%rax, 48(%r14)
	movq	%rbx, %rdi
	callq	_skip_bits1
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	%rax, %r12
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, 4(%r14)
	je	LBB0_4
LBB0_2:
	cmpl	%r15d, %eax
	jne	LBB0_12
## %bb.3:
	cmpl	%r12d, 4(%r14)
	jne	LBB0_12
LBB0_4:
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.5:
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.6:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, 40(%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, %r13
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	cmpl	$14, %r13d
	jl	LBB0_9
LBB0_8:
	movq	24(%r14), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	$1, %r13d
LBB0_9:
	movq	%rbx, %rdi
	movl	$18, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	callq	_skip_bits1
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, 36(%r14)
	movq	24(%r14), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_15
## %bb.10:
	movl	%r15d, (%r14)
	movl	%r12d, 4(%r14)
	addl	$15, %r15d
	shrl	$4, %r15d
	movl	%r15d, 8(%r14)
	addl	$15, %r12d
	shrl	$4, %r12d
	movl	%r12d, 12(%r14)
	movq	_ff_mpeg12_frame_rate_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r13d, %rcx
	movl	(%rax,%rcx,4), %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	cmpl	$0, 16(%r14)
	jne	LBB0_15
## %bb.11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_cavs_init_top_lines         ## TAILCALL
LBB0_12:
	movq	24(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_avpriv_report_missing_feature
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	24(%r14), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Width/height changing in CAVS"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Dimensions invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"frame_rate_code %d is invalid\n"

	.comm	_ff_mpeg12_frame_rate_tab,8,3   ## @ff_mpeg12_frame_rate_tab
	.no_dead_strip	_decode_seq_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_seq_header
_decode_seq_header:                     ; @decode_seq_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	add	x20, x0, #32
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	str	x0, [x19, #56]
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	str	x0, [x19, #48]
	mov	x0, x20
	bl	_skip_bits1
	mov	x0, x20
	mov	w1, #14
	bl	_get_bits
	mov	x21, x0
	mov	x0, x20
	mov	w1, #14
	bl	_get_bits
	mov	x22, x0
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_4
LBB0_2:
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19, #4]
	cmp	w8, w22
	b.ne	LBB0_12
LBB0_4:
	cmp	w21, #1
	b.lt	LBB0_13
; %bb.5:
	cmp	w22, #0
	b.le	LBB0_13
; %bb.6:
	mov	x0, x20
	mov	w1, #2
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	str	x0, [x19, #40]
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	mov	x23, x0
	cbz	w23, LBB0_8
; %bb.7:
	cmp	w23, #14
	b.lt	LBB0_9
LBB0_8:
	ldr	x0, [x19, #24]
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh3:
	adrp	x2, l_.str.2@PAGE
Lloh4:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
	mov	w23, #1
LBB0_9:
	mov	x0, x20
	mov	w1, #18
	bl	_skip_bits
	mov	x0, x20
	bl	_skip_bits1
	mov	x0, x20
	mov	w1, #12
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #36]
	ldr	x0, [x19, #24]
	mov	x1, x21
	mov	x2, x22
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_15
; %bb.10:
	stp	w21, w22, [x19]
	add	w8, w21, #15
	lsr	w8, w8, #4
	add	w9, w22, #15
	lsr	w9, w9, #4
	stp	w8, w9, [x19, #8]
Lloh5:
	adrp	x8, _ff_mpeg12_frame_rate_tab@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ff_mpeg12_frame_rate_tab@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sbfiz	x9, x23, #2, #32
	ldr	w8, [x8, x9]
	ldr	x9, [x19, #24]
	str	w8, [x9]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_16
; %bb.11:
	mov	w0, #0
	b	LBB0_15
LBB0_12:
	ldr	x0, [x19, #24]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_avpriv_report_missing_feature
Lloh10:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	ldr	x0, [x19, #24]
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
Lloh17:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	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
	add	sp, sp, #80
	ret
LBB0_16:
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_ff_cavs_init_top_lines
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Width/height changing in CAVS"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Dimensions invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"frame_rate_code %d is invalid\n"

	.comm	_ff_mpeg12_frame_rate_tab,8,3   ; @ff_mpeg12_frame_rate_tab
	.no_dead_strip	_decode_seq_header
.subsections_via_symbols
