	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc1_get_LUMSCALE
_vc1_get_LUMSCALE:                      ## @vc1_get_LUMSCALE
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	48(%rdi), %rcx
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.1:
	cmpl	$0, 40(%rdi)
	je	LBB0_2
LBB0_13:
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rcx
	movq	_PROGRESSIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	8(%rdi), %rdx
	movq	_MV_PMODE_INTENSITY_COMP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_11
LBB0_4:
	movq	_ILACE_FRAME@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 32(%rdi)
	je	LBB0_6
LBB0_11:
	addq	$16, %rdi
LBB0_12:
	movl	(%rdi), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_ILACE_FIELD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.7:
	movq	8(%rdi), %rcx
	movq	_MV_PMODE_INTENSITY_COMP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.8:
	movl	20(%rdi), %ecx
	cmpl	$3, %ecx
	je	LBB0_11
## %bb.9:
	cmpl	$2, %ecx
	je	LBB0_14
## %bb.10:
	cmpl	$1, %ecx
	jne	LBB0_13
	jmp	LBB0_11
LBB0_14:
	addq	$24, %rdi
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PICTURE_TYPE_P,8,3          ## @AV_PICTURE_TYPE_P
	.comm	_PROGRESSIVE,8,3                ## @PROGRESSIVE
	.comm	_MV_PMODE_INTENSITY_COMP,8,3    ## @MV_PMODE_INTENSITY_COMP
	.comm	_ILACE_FRAME,8,3                ## @ILACE_FRAME
	.comm	_ILACE_FIELD,8,3                ## @ILACE_FIELD
	.no_dead_strip	_vc1_get_LUMSCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc1_get_LUMSCALE
_vc1_get_LUMSCALE:                      ; @vc1_get_LUMSCALE
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #48]
Lloh0:
	adrp	x9, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _PROGRESSIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PROGRESSIVE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x0, #8]
Lloh6:
	adrp	x10, _MV_PMODE_INTENSITY_COMP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MV_PMODE_INTENSITY_COMP@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_7
LBB0_5:
Lloh9:
	adrp	x9, _ILACE_FRAME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ILACE_FRAME@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x9, [x0, #32]
	cbz	x9, LBB0_8
LBB0_7:
	add	x8, x0, #16
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh12:
	adrp	x9, _ILACE_FIELD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ILACE_FIELD@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.9:
	ldr	x8, [x0, #8]
Lloh15:
	adrp	x9, _MV_PMODE_INTENSITY_COMP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MV_PMODE_INTENSITY_COMP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.10:
	ldr	w8, [x0, #20]
	cmp	w8, #3
	b.eq	LBB0_7
; %bb.11:
	cmp	w8, #2
	b.eq	LBB0_13
; %bb.12:
	cmp	w8, #1
	b.ne	LBB0_2
	b	LBB0_7
LBB0_13:
	add	x8, x0, #24
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PICTURE_TYPE_P,8,3          ; @AV_PICTURE_TYPE_P
	.comm	_PROGRESSIVE,8,3                ; @PROGRESSIVE
	.comm	_MV_PMODE_INTENSITY_COMP,8,3    ; @MV_PMODE_INTENSITY_COMP
	.comm	_ILACE_FRAME,8,3                ; @ILACE_FRAME
	.comm	_ILACE_FIELD,8,3                ; @ILACE_FIELD
	.no_dead_strip	_vc1_get_LUMSCALE
.subsections_via_symbols
