	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspitexutil_brga_to_rgba      ## -- Begin function raspitexutil_brga_to_rgba
	.p2align	4, 0x90
_raspitexutil_brga_to_rgba:             ## @raspitexutil_brga_to_rgba
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	jle	LBB0_3
## %bb.1:
	leaq	(%rdi,%rsi,4), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ecx
	movl	8(%rdi), %edx
	movl	%edx, (%rdi)
	movl	%ecx, 8(%rdi)
	addq	$16, %rdi
	cmpq	%rax, %rdi
	jb	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspitexutil_brga_to_rgba      ; -- Begin function raspitexutil_brga_to_rgba
	.p2align	2
_raspitexutil_brga_to_rgba:             ; @raspitexutil_brga_to_rgba
	.cfi_startproc
; %bb.0:
	cmp	x1, #1
	b.lt	LBB0_6
; %bb.1:
	add	x8, x0, x1, lsl #2
	add	x9, x0, #16
	cmp	x8, x9
	csel	x10, x8, x9, hi
	mvn	x11, x0
	add	x10, x10, x11
	cmp	x10, #16
	b.lo	LBB0_5
; %bb.2:
	lsr	x10, x10, #4
	add	x10, x10, #1
	and	x11, x10, #0x1ffffffffffffffe
	add	x0, x0, x11, lsl #4
	mov	x12, x11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x9, #-16]
	ldr	w14, [x9]
	ldur	w15, [x9, #-8]
	ldr	w16, [x9, #8]
	stur	w15, [x9, #-16]
	str	w16, [x9]
	stur	w13, [x9, #-8]
	str	w14, [x9, #8]
	add	x9, x9, #32
	subs	x12, x12, #2
	b.ne	LBB0_3
; %bb.4:
	cmp	x10, x11
	b.eq	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	ldr	w10, [x0, #8]
	str	w10, [x0]
	str	w9, [x0, #8]
	add	x0, x0, #16
	cmp	x0, x8
	b.lo	LBB0_5
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
