	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idct_put
_idct_put:                              ## @idct_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
	cmpl	$3, %r9d
	jg	LBB0_1
## %bb.3:
	movq	(%rsi), %rax
	movq	8(%rsi), %r10
	shll	$4, %r8d
	movl	%r9d, %esi
	andl	$2, %esi
	leal	(%r8,%rsi,4), %edi
	movl	(%rax), %esi
	imull	%esi, %edi
	movslq	%edi, %rax
	shll	$4, %ecx
	movslq	%ecx, %rcx
	shll	$3, %r9d
	andl	$8, %r9d
	orq	%rcx, %r9
	addq	(%r10), %r9
	addq	%rax, %r9
	movq	%r9, %rdi
	popq	%rbp
	jmp	_ff_ea_idct_put_c               ## TAILCALL
LBB0_1:
	movq	(%rdi), %rax
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.2:
	popq	%rbp
	retq
LBB0_4:
	addl	$-3, %r9d
	movq	(%rsi), %rax
	movq	8(%rsi), %r10
	movl	(%rax,%r9,4), %esi
	imull	%esi, %r8d
	shll	$3, %r8d
	movslq	%r8d, %rax
	shll	$3, %ecx
	movslq	%ecx, %rdi
	addq	(%r10,%r9,8), %rdi
	addq	%rax, %rdi
	popq	%rbp
	jmp	_ff_ea_idct_put_c               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ## @AV_CODEC_FLAG_GRAY
	.no_dead_strip	_idct_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idct_put
_idct_put:                              ; @idct_put
	.cfi_startproc
; %bb.0:
	subs	w8, w5, #3
	b.gt	LBB0_2
; %bb.1:
	ldp	x9, x8, [x1]
	ldr	x8, [x8]
	lsl	w10, w5, #2
	and	w10, w10, #0x8
	bfi	w10, w4, #4, #28
	ldr	w1, [x9]
	mul	w9, w1, w10
	lsl	w10, w3, #4
	sxtw	x10, w10
	ubfiz	w11, w5, #3, #1
	orr	x10, x11, x10
	add	x8, x10, x8
	add	x0, x8, w9, sxtw
	b	_ff_ea_idct_put_c
LBB0_2:
	ldr	x9, [x0]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	ret
LBB0_4:
	ldp	x10, x9, [x1]
	ldr	x9, [x9, w8, uxtw #3]
	ldr	w1, [x10, w8, uxtw #2]
	mul	w8, w4, w1
	lsl	w8, w8, #3
	lsl	w10, w3, #3
	add	x9, x9, w10, sxtw
	add	x0, x9, w8, sxtw
	b	_ff_ea_idct_put_c
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ; @AV_CODEC_FLAG_GRAY
	.no_dead_strip	_idct_put
.subsections_via_symbols
