	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_studio_vol_header
_decode_studio_vol_header:              ## @decode_studio_vol_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	%rsi, %rbx
	movq	%rdi, %r15
	leaq	16(%rdi), %r14
	movq	%rsi, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	callq	_skip_bits1
	movq	(%r15), %rax
	movq	_BIN_ONLY_SHAPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 8(%r15)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	cmpl	$10, %eax
	jne	LBB0_24
## %bb.4:
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.5:
	movq	_AV_PIX_FMT_GBRP10@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	64(%r15), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_23
LBB0_24:
	movq	64(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_23
LBB0_6:
	movq	(%r14), %rax
	movq	_CHROMA_422@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:
	movq	_AV_PIX_FMT_YUV422P10@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_AV_PIX_FMT_YUV444P10@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movq	64(%r15), %rcx
	movl	%eax, 24(%rcx)
	movl	$10, (%rcx)
	movq	(%r15), %rax
LBB0_10:
	movq	_RECT_SHAPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.11:
	movq	64(%r15), %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	%rax, %r12
	movq	64(%r15), %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	%rax, %r13
	movq	64(%r15), %rdi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	testl	%r12d, %r12d
	je	LBB0_19
## %bb.12:
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.13:
	movl	24(%r15), %eax
	testl	%eax, %eax
	je	LBB0_18
## %bb.14:
	movl	28(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_18
## %bb.15:
	cmpl	%r12d, %eax
	jne	LBB0_17
## %bb.16:
	cmpl	%r13d, %ecx
	je	LBB0_18
LBB0_17:
	movl	$1, 32(%r15)
LBB0_18:
	movl	%r12d, 24(%r15)
	movl	%r13d, 28(%r15)
LBB0_19:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, 40(%r15)
	movq	_FF_ASPECT_EXTENDED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	64(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	64(%r15), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_22
LBB0_21:
	movq	64(%r15), %rcx
	movq	_ff_h263_pixel_aspect@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rax
	movups	(%rdx,%rax), %xmm0
	movups	%xmm0, 8(%rcx)
LBB0_22:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_skip_bits
	movq	64(%r15), %rdi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_skip_bits
	movq	64(%r15), %rdi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_skip_bits
	movq	64(%r15), %rdi
	leaq	L_.str.7(%rip), %r12
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_skip_bits
	movq	64(%r15), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_check_marker
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_skip_bits
	movq	64(%r15), %rdi
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rsi
	callq	_check_marker
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 56(%r15)
	movq	%rbx, %rdi
	callq	_get_bits1
	movq	%rax, 48(%r15)
	movq	%rbx, %rdi
	callq	_next_start_code_studio
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_extension_and_user_data
	xorl	%eax, %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIN_ONLY_SHAPE,8,3             ## @BIN_ONLY_SHAPE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"illegal chroma format\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_GBRP10,4,2          ## @AV_PIX_FMT_GBRP10
	.comm	_CHROMA_422,8,3                 ## @CHROMA_422
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ## @AV_PIX_FMT_YUV422P10
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ## @AV_PIX_FMT_YUV444P10
L_.str.1:                               ## @.str.1
	.asciz	"MPEG-4 Studio profile bit-depth %u"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_RECT_SHAPE,8,3                 ## @RECT_SHAPE
L_.str.2:                               ## @.str.2
	.asciz	"before video_object_layer_width"

L_.str.3:                               ## @.str.3
	.asciz	"before video_object_layer_height"

L_.str.4:                               ## @.str.4
	.asciz	"after video_object_layer_height"

	.comm	_FF_ASPECT_EXTENDED,8,3         ## @FF_ASPECT_EXTENDED
	.comm	_ff_h263_pixel_aspect,8,3       ## @ff_h263_pixel_aspect
L_.str.5:                               ## @.str.5
	.asciz	"after first_half_bit_rate"

L_.str.6:                               ## @.str.6
	.asciz	"after latter_half_bit_rate"

L_.str.7:                               ## @.str.7
	.asciz	"after first_half_vbv_buffer_size"

L_.str.8:                               ## @.str.8
	.asciz	"after latter_half_vbv_occupancy"

	.no_dead_strip	_decode_studio_vol_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_studio_vol_header
_decode_studio_vol_header:              ; @decode_studio_vol_header
	.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
	mov	w1, #4
	bl	_skip_bits
	mov	x0, x19
	mov	w1, #2
	bl	_get_bits
	str	x0, [x20]
	mov	x0, x19
	mov	w1, #4
	bl	_skip_bits
	mov	x0, x19
	bl	_skip_bits1
	mov	x21, x20
	ldr	x8, [x21], #16
Lloh0:
	adrp	x9, _BIN_ONLY_SHAPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIN_ONLY_SHAPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_get_bits1
	str	x0, [x20, #8]
	mov	x0, x19
	mov	w1, #2
	bl	_get_bits
	str	x0, [x20, #16]
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #4
	bl	_get_bits
	mov	x2, x0
	cmp	w2, #10
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _AV_PIX_FMT_GBRP10@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PIX_FMT_GBRP10@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldr	x0, [x20, #64]
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_6:
	ldr	x0, [x20, #64]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_avpriv_request_sample
Lloh15:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_7:
	ldr	x8, [x21]
Lloh18:
	adrp	x9, _CHROMA_422@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CHROMA_422@GOTPAGEOFF]
Lloh20:
	adrp	x10, _AV_PIX_FMT_YUV422P10@GOTPAGE
Lloh21:
	ldr	x10, [x10, _AV_PIX_FMT_YUV422P10@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
Lloh23:
	adrp	x11, _AV_PIX_FMT_YUV444P10@GOTPAGE
Lloh24:
	ldr	x11, [x11, _AV_PIX_FMT_YUV444P10@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
LBB0_8:
	ldr	w8, [x8]
	ldr	x9, [x20, #64]
	str	w8, [x9, #24]
	mov	w8, #10
	str	w8, [x9]
	ldr	x8, [x20]
LBB0_9:
Lloh25:
	adrp	x9, _RECT_SHAPE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RECT_SHAPE@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.10:
	ldr	x0, [x20, #64]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	mov	x0, x19
	mov	w1, #14
	bl	_get_bits
	mov	x22, x0
	ldr	x0, [x20, #64]
Lloh30:
	adrp	x2, l_.str.3@PAGE
Lloh31:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	mov	x0, x19
	mov	w1, #14
	bl	_get_bits
	mov	x23, x0
	ldr	x0, [x20, #64]
Lloh32:
	adrp	x2, l_.str.4@PAGE
Lloh33:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	cbz	w22, LBB0_18
; %bb.11:
	cbz	w23, LBB0_18
; %bb.12:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_17
; %bb.13:
	ldr	w9, [x20, #28]
	cbz	w9, LBB0_17
; %bb.14:
	cmp	w8, w22
	b.ne	LBB0_16
; %bb.15:
	cmp	w9, w23
	b.eq	LBB0_17
LBB0_16:
	mov	w8, #1
	str	w8, [x20, #32]
LBB0_17:
	stp	w22, w23, [x20, #24]
LBB0_18:
	mov	x0, x19
	mov	w1, #4
	bl	_get_bits
	str	x0, [x20, #40]
Lloh34:
	adrp	x8, _FF_ASPECT_EXTENDED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FF_ASPECT_EXTENDED@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x20, #64]
	str	x0, [x8, #16]
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x20, #64]
	str	x0, [x8, #8]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x20, #64]
Lloh37:
	adrp	x9, _ff_h263_pixel_aspect@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ff_h263_pixel_aspect@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	ldr	q0, [x9, x0, lsl #4]
	stur	q0, [x8, #8]
LBB0_21:
	mov	x0, x19
	mov	w1, #4
	bl	_skip_bits
	mov	x0, x19
	mov	w1, #15
	bl	_skip_bits
	ldr	x0, [x20, #64]
Lloh40:
	adrp	x2, l_.str.5@PAGE
Lloh41:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	mov	x0, x19
	mov	w1, #15
	bl	_skip_bits
	ldr	x0, [x20, #64]
Lloh42:
	adrp	x2, l_.str.6@PAGE
Lloh43:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	mov	x0, x19
	mov	w1, #15
	bl	_skip_bits
	ldr	x0, [x20, #64]
Lloh44:
	adrp	x22, l_.str.7@PAGE
Lloh45:
	add	x22, x22, l_.str.7@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_check_marker
	mov	x0, x19
	mov	w1, #3
	bl	_skip_bits
	mov	x0, x19
	mov	w1, #11
	bl	_skip_bits
	ldr	x0, [x20, #64]
	mov	x1, x19
	mov	x2, x22
	bl	_check_marker
	mov	x0, x19
	mov	w1, #15
	bl	_skip_bits
	ldr	x0, [x20, #64]
Lloh46:
	adrp	x2, l_.str.8@PAGE
Lloh47:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x1, x19
	bl	_check_marker
	mov	x0, x19
	bl	_get_bits1
	str	x0, [x20, #56]
	mov	x0, x19
	bl	_get_bits1
	str	x0, [x20, #48]
	mov	x0, x19
	bl	_next_start_code_studio
	mov	x0, x21
	mov	x1, x19
	mov	w2, #2
	bl	_extension_and_user_data
	mov	w0, #0
LBB0_22:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_BIN_ONLY_SHAPE,8,3             ; @BIN_ONLY_SHAPE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"illegal chroma format\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_GBRP10,4,2          ; @AV_PIX_FMT_GBRP10
	.comm	_CHROMA_422,8,3                 ; @CHROMA_422
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ; @AV_PIX_FMT_YUV422P10
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ; @AV_PIX_FMT_YUV444P10
l_.str.1:                               ; @.str.1
	.asciz	"MPEG-4 Studio profile bit-depth %u"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_RECT_SHAPE,8,3                 ; @RECT_SHAPE
l_.str.2:                               ; @.str.2
	.asciz	"before video_object_layer_width"

l_.str.3:                               ; @.str.3
	.asciz	"before video_object_layer_height"

l_.str.4:                               ; @.str.4
	.asciz	"after video_object_layer_height"

	.comm	_FF_ASPECT_EXTENDED,8,3         ; @FF_ASPECT_EXTENDED
	.comm	_ff_h263_pixel_aspect,8,3       ; @ff_h263_pixel_aspect
l_.str.5:                               ; @.str.5
	.asciz	"after first_half_bit_rate"

l_.str.6:                               ; @.str.6
	.asciz	"after latter_half_bit_rate"

l_.str.7:                               ; @.str.7
	.asciz	"after first_half_vbv_buffer_size"

l_.str.8:                               ; @.str.8
	.asciz	"after latter_half_vbv_occupancy"

	.no_dead_strip	_decode_studio_vol_header
.subsections_via_symbols
