	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_bgr24_line
_copy_bgr24_line:                       ## @copy_bgr24_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$1, %edx
	je	LBB0_4
## %bb.2:
	movl	%edx, %eax
	andl	$-2, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	movl	%ecx, 8(%rdi)
	movl	4(%rsi), %ecx
	movl	%ecx, 4(%rdi)
	movl	8(%rsi), %ecx
	movl	%ecx, (%rdi)
	movl	12(%rsi), %ecx
	movl	%ecx, 20(%rdi)
	movl	16(%rsi), %ecx
	movl	%ecx, 16(%rdi)
	movl	20(%rsi), %ecx
	movl	%ecx, 12(%rdi)
	addq	$24, %rdi
	addq	$24, %rsi
	addl	$-2, %eax
	jne	LBB0_3
LBB0_4:
	testb	$1, %dl
	je	LBB0_6
## %bb.5:
	movl	(%rsi), %eax
	movl	%eax, 8(%rdi)
	movl	4(%rsi), %eax
	movl	%eax, 4(%rdi)
	movl	8(%rsi), %eax
	movl	%eax, (%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_bgr24_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_bgr24_line
_copy_bgr24_line:                       ; @copy_bgr24_line
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_9
; %bb.1:
	sub	w8, w2, #1
	cmp	w8, #7
	b.lo	LBB0_6
; %bb.2:
	mov	w9, #12
	umull	x9, w8, w9
	add	x9, x9, #12
	add	x10, x0, x9
	add	x9, x1, x9
	cmp	x9, x0
	ccmp	x10, x1, #0, hi
	b.hi	LBB0_6
; %bb.3:
	add	x11, x8, #1
	and	x9, x11, #0x1fffffff8
	add	x8, x9, x9, lsl #1
	lsl	x8, x8, #2
	add	x10, x0, x8
	add	x8, x1, x8
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x13, x1
	ld3.4s	{ v0, v1, v2 }, [x13], #48
	mov.16b	v3, v2
	mov.16b	v4, v1
	mov.16b	v5, v0
	ld3.4s	{ v0, v1, v2 }, [x13]
	mov.16b	v16, v2
	mov.16b	v17, v1
	mov.16b	v18, v0
	add	x13, x0, #96
	st3.4s	{ v3, v4, v5 }, [x0], #48
	st3.4s	{ v16, v17, v18 }, [x0]
	add	x1, x1, #96
	mov	x0, x13
	subs	x12, x12, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	w9, #0
	mov	x10, x0
	mov	x8, x1
LBB0_7:
	sub	w9, w2, w9
	add	x10, x10, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x10]
	ldr	w11, [x8, #4]
	stur	w11, [x10, #-4]
	ldr	w11, [x8, #8]
	stur	w11, [x10, #-8]
	add	x10, x10, #12
	add	x8, x8, #12
	subs	w9, w9, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_bgr24_line
.subsections_via_symbols
