	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_subcoefs
_copy_subcoefs:                         ## @copy_subcoefs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%rsi, %rbx
	movl	16(%rbp), %esi
	movq	_ff_vp9_scans@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, %edx
	movq	(%rax,%rdx,8), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %r9
	movl	%r8d, %eax
	imull	%r8d, %eax
	testl	%eax, %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%r8d, %r12d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%ecx, %ecx
	movslq	%ecx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	leaq	(%rbx,%rax,4), %rsi
	callq	_AV_COPY32
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	16(%rbp), %esi
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	%r13, %r14
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r9,%r13,4), %rcx
	movl	%ecx, %eax
	cltd
	idivl	%r12d
	cmpl	%r15d, %edx
	jge	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %eax
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$8, %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx,%rcx,4), %eax
	movl	%eax, (%rdi,%rcx,4)
	jmp	LBB0_8
LBB0_1:
	xorl	%r13d, %r13d
	cmpl	%eax, %r13d
	jb	LBB0_12
	jmp	LBB0_17
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r13d
	jae	LBB0_17
LBB0_12:
	movl	%r13d, %ebx
	movl	%eax, %r12d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	addl	%eax, %eax
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	callq	_AV_ZERO32
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	16(%rbp), %esi
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	cmpl	%ebx, %r12d
	je	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r9,%rbx,4), %rax
	cmpl	$8, %esi
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$0, (%rdi,%rax,4)
	jmp	LBB0_16
LBB0_17:
	movl	%r13d, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_vp9_scans,8,3               ## @ff_vp9_scans
	.no_dead_strip	_copy_subcoefs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_subcoefs
_copy_subcoefs:                         ; @copy_subcoefs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x21, x0
Lloh0:
	adrp	x8, _ff_vp9_scans@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_vp9_scans@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w2, uxtw #3]
	ldr	x26, [x8, w3, uxtw #3]
	mul	w20, w4, w4
	cbz	w20, LBB0_7
; %bb.1:
	mov	x22, x5
	mov	x23, x4
	mov	x24, x1
	mov	x25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w8, #1
	sbfiz	x8, x8, #2, #32
	add	x0, x21, x8
	add	x1, x24, x8
	bl	_AV_COPY32
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x20, x25
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26, x25, lsl #2]
	sdiv	w9, w8, w23
	msub	w10, w9, w23, w8
	cmp	w10, w22
	ccmp	w9, w22, #0, lt
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #8
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x8, #2
	ldr	w9, [x24, x8]
	str	w9, [x21, x8]
	b	LBB0_3
LBB0_7:
	mov	w25, #0
LBB0_8:
	cmp	w25, w20
	b.hs	LBB0_14
; %bb.9:
	add	x22, x26, w25, uxtw #2
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	lsl	w8, w8, #1
	add	x0, x21, w8, sxtw #2
	bl	_AV_ZERO32
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #4
	sub	w20, w20, #1
	cmp	w25, w20
	b.eq	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	cmp	w19, #8
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [x21, x8, lsl #2]
	b	LBB0_11
LBB0_14:
	mov	x20, x25
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_vp9_scans,8,3               ; @ff_vp9_scans
	.no_dead_strip	_copy_subcoefs
.subsections_via_symbols
