	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_mb
_copy_mb:                               ## @copy_mb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movslq	(%r13), %rsi
	imulq	%rbx, %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	callq	_memcpy
	incl	%ebx
	movq	_MB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	jl	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_AV_PIX_FMT_RGB24@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.4:
	cmpl	$2, %edx
	jl	LBB0_10
## %bb.5:
	shrl	%edx
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r12), %rdi
	movslq	%r13d, %r13
	imulq	%r13, %rdi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movslq	4(%rbx), %rsi
	imulq	%r13, %rsi
	shlq	$2, %rsi
	addq	8(%r15), %rsi
	callq	_memcpy
	incl	%r13d
	movq	_MB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	cmpl	%edx, %r13d
	jl	LBB0_6
## %bb.7:
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.8:
	movq	%rbx, %r13
	shrl	%eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	8(%r12), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	shlq	$2, %rdi
	addq	16(%r14), %rdi
	movslq	8(%r13), %rsi
	imulq	%rbx, %rsi
	shlq	$2, %rsi
	addq	16(%r15), %rsi
	movl	%eax, %edx
	callq	_memcpy
	incl	%ebx
	movq	_MB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	cmpl	%eax, %ebx
	jl	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_SIZE,4,2                    ## @MB_SIZE
	.comm	_AV_PIX_FMT_RGB24,8,3           ## @AV_PIX_FMT_RGB24
	.no_dead_strip	_copy_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_mb
_copy_mb:                               ; @copy_mb
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _MB_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MB_SIZE@GOTPAGEOFF]
	ldr	w2, [x24]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w9, [x21]
	mul	w9, w9, w25
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x20]
	ldr	w9, [x19]
	mul	w9, w9, w25
	add	x1, x8, w9, sxtw #2
	bl	_memcpy
	add	w25, w25, #1
	ldr	w2, [x24]
	cmp	w25, w2
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _AV_PIX_FMT_RGB24@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_PIX_FMT_RGB24@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w2, #2, #8, eq
	b.lt	LBB0_9
; %bb.4:
	mov	w23, #0
	lsr	w2, w2, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w9, [x21, #4]
	mul	w9, w9, w23
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x20, #8]
	ldr	w9, [x19, #4]
	mul	w9, w9, w23
	add	x1, x8, w9, sxtw #2
	bl	_memcpy
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w2, w9, #1
	cmp	w23, w2
	b.lt	LBB0_5
; %bb.6:
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	w23, #0
	lsr	w2, w8, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	w9, [x21, #8]
	mul	w9, w9, w23
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x20, #16]
	ldr	w9, [x19, #8]
	mul	w9, w9, w23
	add	x1, x8, w9, sxtw #2
	bl	_memcpy
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	cmp	w23, w2
	b.lt	LBB0_8
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_SIZE,4,2                    ; @MB_SIZE
	.comm	_AV_PIX_FMT_RGB24,8,3           ; @AV_PIX_FMT_RGB24
	.no_dead_strip	_copy_mb
.subsections_via_symbols
