	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dct_unquantize_mpeg2_intra_c
_dct_unquantize_mpeg2_intra_c:          ## @dct_unquantize_mpeg2_intra_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	cmpq	$0, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_ff_mpeg2_non_linear_qscale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %ecx
	jmp	LBB0_3
LBB0_2:
	addl	%ecx, %ecx
LBB0_3:
	movl	$63, %r9d
	cmpq	$0, 32(%rdi)
	jne	LBB0_5
## %bb.4:
	movq	(%rdi), %r8
	movslq	%edx, %rax
	movl	(%r8,%rax,4), %r9d
LBB0_5:
	xorl	%eax, %eax
	cmpl	$4, %edx
	setge	%al
	movl	(%rsi), %edx
	imull	8(%rdi,%rax,4), %edx
	movl	%edx, (%rsi)
	testl	%r9d, %r9d
	jle	LBB0_10
## %bb.6:
	movq	16(%rdi), %r8
	movq	24(%rdi), %r10
	incl	%r9d
	movl	$1, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpq	%rdx, %r9
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r10,%rdx,4), %r11
	movl	(%rsi,%r11,4), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	imull	%ecx, %edi
	imull	(%r8,%r11,4), %edi
	movl	%edi, %ebx
	negl	%ebx
	sarl	$4, %ebx
	negl	%ebx
	sarl	$4, %edi
	testl	%eax, %eax
	cmovsl	%ebx, %edi
	movl	%edi, (%rsi,%r11,4)
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_mpeg2_non_linear_qscale,8,3 ## @ff_mpeg2_non_linear_qscale
	.no_dead_strip	_dct_unquantize_mpeg2_intra_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dct_unquantize_mpeg2_intra_c
_dct_unquantize_mpeg2_intra_c:          ; @dct_unquantize_mpeg2_intra_c
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ff_mpeg2_non_linear_qscale@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_mpeg2_non_linear_qscale@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w3, sxtw #2]
	ldr	x9, [x0, #32]
	cbz	x9, LBB0_4
LBB0_2:
	mov	w10, #63
	b	LBB0_5
LBB0_3:
	lsl	w8, w3, #1
	ldr	x9, [x0, #32]
	cbnz	x9, LBB0_2
LBB0_4:
	ldr	x9, [x0]
	ldr	w10, [x9, w2, sxtw #2]
LBB0_5:
	cmp	w2, #4
	mov	w9, #12
	mov	w11, #8
	csel	x9, x11, x9, lt
	ldr	w9, [x0, x9]
	ldr	w11, [x1]
	mul	w9, w11, w9
	str	w9, [x1]
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.6:
	ldp	x9, x11, [x0, #16]
	add	w12, w10, #1
	add	x10, x11, #4
	sub	x11, x12, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #4
	subs	x11, x11, #1
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x13, [x10]
	ldr	w12, [x1, x13, lsl #2]
	cbz	w12, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mul	w14, w12, w8
	lsl	x13, x13, #2
	ldr	w15, [x9, x13]
	mul	w16, w14, w15
	mneg	w14, w14, w15
	asr	w14, w14, #4
	asr	w15, w16, #4
	cmp	w12, #0
	csneg	w12, w15, w14, ge
	str	w12, [x1, x13]
	b	LBB0_7
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_mpeg2_non_linear_qscale,8,3 ; @ff_mpeg2_non_linear_qscale
	.no_dead_strip	_dct_unquantize_mpeg2_intra_c
.subsections_via_symbols
