	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgb24tobgr24_c
_rgb24tobgr24_c:                        ## @rgb24tobgr24_c
	.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_3
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	2(%rax), %r9d
	movl	(%rdi,%r9,4), %r8d
	leal	1(%rax), %r10d
	movl	(%rdi,%r10,4), %ecx
	movl	%ecx, (%rsi,%r10,4)
	movl	%eax, %r10d
	movl	(%rdi,%r10,4), %ecx
	movl	%ecx, (%rsi,%r9,4)
	movl	%r8d, (%rsi,%r10,4)
	addl	$3, %eax
	cmpl	%edx, %eax
	jb	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rgb24tobgr24_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb24tobgr24_c
_rgb24tobgr24_c:                        ; @rgb24tobgr24_c
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, #2
	lsl	x9, x9, #2
	ldr	w10, [x0, x9]
	add	w11, w8, #1
	lsl	x11, x11, #2
	ldr	w12, [x0, x11]
	str	w12, [x1, x11]
	mov	w11, w8
	lsl	x11, x11, #2
	ldr	w12, [x0, x11]
	str	w12, [x1, x9]
	str	w10, [x1, x11]
	add	w8, w8, #3
	cmp	w8, w2
	b.lo	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rgb24tobgr24_c
.subsections_via_symbols
