	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dct_unquantize_mpeg1_intra_c
_dct_unquantize_mpeg1_intra_c:          ## @dct_unquantize_mpeg1_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
	movq	(%rdi), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %r9d
	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_8
## %bb.1:
	movq	16(%rdi), %r8
	movq	24(%rdi), %r10
	incq	%r9
	movl	$1, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	sarl	$3, %edi
	decl	%edi
	orl	$1, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, (%rsi,%r11,4)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r9
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r10,%rdx,4), %r11
	movl	(%rsi,%r11,4), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	imull	%ecx, %edi
	imull	(%r8,%r11,4), %edi
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	negl	%edi
	sarl	$3, %edi
	decl	%edi
	orl	$1, %edi
	negl	%edi
	jmp	LBB0_6
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dct_unquantize_mpeg1_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_mpeg1_intra_c
_dct_unquantize_mpeg1_intra_c:          ; @dct_unquantize_mpeg1_intra_c
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8, w2, sxtw #2]
	cmp	w2, #4
	mov	w9, #12
	mov	w10, #8
	csel	x9, x10, x9, lt
	ldr	w9, [x0, x9]
	ldr	w10, [x1]
	mul	w9, w10, w9
	str	w9, [x1]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldp	x9, x10, [x0, #16]
	add	x10, x10, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #4
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x10]
	ldr	w12, [x1, x11, lsl #2]
	cbz	w12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	w13, w12, w3
	ldr	w14, [x9, x11, lsl #2]
	mul	w13, w13, w14
	asr	w14, w13, #3
	sub	w14, w14, #1
	orr	w14, w14, #0x1
	neg	w13, w13
	asr	w13, w13, #3
	sub	w13, w13, #1
	orr	w13, w13, #0x1
	tst	w12, #0x80000000
	csneg	w12, w14, w13, eq
	str	w12, [x1, x11, lsl #2]
	b	LBB0_2
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dct_unquantize_mpeg1_intra_c
.subsections_via_symbols
