	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_raw_intra_rgb
_decode_raw_intra_rgb:                  ## @decode_raw_intra_rgb
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movl	(%rcx), %r9d
	leal	-1(%r8), %ecx
	imull	%r9d, %ecx
	movslq	%ecx, %rax
	shlq	$3, %rax
	addq	(%rdx), %rax
	movl	4(%rdi), %r10d
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	xorl	%r11d, %r11d
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r9d, %rdx
	shlq	$3, %rdx
	subq	%rdx, %rax
	incl	%ebx
	cmpl	%r8d, %ebx
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r10d, %r10d
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	movl	%r12d, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, (%r14,%rax,8)
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	addq	%rax, %r15
	leal	1(%r12), %eax
	movq	%r15, (%r14,%rax,8)
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rcx
	leal	2(%r12), %eax
	movq	%rcx, (%r14,%rax,8)
	incq	%rbx
	movslq	4(%rdi), %r10
	addl	$3, %r12d
	cmpq	%r10, %rbx
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %r9d
	movl	(%rdi), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_raw_intra_rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_raw_intra_rgb
_decode_raw_intra_rgb:                  ; @decode_raw_intra_rgb
	.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
	ldr	w9, [x0]
	subs	w8, w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #0
	mov	x23, #0
	mov	x24, #0
	mov	x25, #0
	ldp	x11, x10, [x2]
	ldr	x12, [x10]
	ldr	w10, [x11]
	mul	w8, w10, w8
	add	x26, x12, w8, sxtw #3
	ldr	w8, [x0, #4]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x26, x26, w10, sxtw #3
	add	w22, w22, #1
	cmp	w22, w9
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	mov	x28, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	x25, x0, x25
	str	x25, [x26, w27, uxtw #3]
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	x24, x0, x24
	add	w8, w27, #1
	str	x24, [x26, w8, uxtw #3]
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	x23, x0, x23
	add	w8, w27, #2
	str	x23, [x26, w8, uxtw #3]
	add	x28, x28, #1
	ldrsw	x8, [x21, #4]
	add	w27, w27, #3
	cmp	x28, x8
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
	ldr	w10, [x9]
	ldr	w9, [x21]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	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	_decode_raw_intra_rgb
.subsections_via_symbols
