	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_CTB
_copy_CTB:                              ## @copy_CTB
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	orl	%edi, %eax
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r9d, %edx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	orl	%r8d, %edx
	orl	%eax, %edx
	testb	$15, %dl
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.2:
	shlq	$2, -80(%rbp)                   ## 8-byte Folded Spill
	shlq	$2, -72(%rbp)                   ## 8-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_AV_COPY64U
	addq	$32, %rbx
	addq	$32, %r15
	addl	$8, %r14d
	cmpl	%r12d, %r14d
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.8:
	shlq	$2, -80(%rbp)                   ## 8-byte Folded Spill
	shlq	$2, -72(%rbp)                   ## 8-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_AV_COPY128
	addq	$64, %rbx
	addq	$64, %r15
	addl	$16, %r14d
	cmpl	%r12d, %r14d
	jl	LBB0_11
	jmp	LBB0_12
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_CTB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_CTB
_copy_CTB:                              ; @copy_CTB
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	orr	w8, w21, w22
	orr	w8, w8, w4
	orr	w8, w8, w5
	tst	x8, #0xf
	b.eq	LBB0_7
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.2:
	mov	w23, #0
	lsl	x24, x5, #2
	lsl	x25, x4, #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	add	x21, x21, x24
	add	x22, x22, x25
	cmp	w23, w19
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	mov	x27, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x22, x27
	add	x1, x21, x27
	bl	_AV_COPY64U
	add	x27, x27, #32
	add	w26, w26, #8
	cmp	w26, w20
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.8:
	mov	w23, #0
	lsl	x24, x5, #2
	lsl	x25, x4, #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w23, w23, #1
	add	x21, x21, x24
	add	x22, x22, x25
	cmp	w23, w19
	b.eq	LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w26, #0
	mov	x27, #0
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x22, x27
	add	x1, x21, x27
	bl	_AV_COPY128
	add	x27, x27, #64
	add	w26, w26, #16
	cmp	w26, w20
	b.lt	LBB0_12
	b	LBB0_9
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_CTB
.subsections_via_symbols
