	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getPixelColorRGBA8
_getPixelColorRGBA8:                    ## @getPixelColorRGBA8
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rbp), %r13
	movq	(%r13), %rcx
	movq	_LCT_GREY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_5
## %bb.1:
	movslq	8(%r13), %rcx
	cmpq	$16, %rcx
	je	LBB0_16
## %bb.2:
	cmpl	$8, %ecx
	jne	LBB0_19
## %bb.3:
	movb	(%r8,%r9), %al
	movb	%al, (%r12)
	movb	%al, (%r15)
	movb	%al, (%rbx)
	cmpq	$0, 32(%r13)
	je	LBB0_26
## %bb.4:
	cmpb	12(%r13), %al
	je	LBB0_18
	jmp	LBB0_26
LBB0_5:
	movq	_LCT_RGB@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_11
## %bb.6:
	cmpl	$8, 8(%r13)
	jne	LBB0_22
## %bb.7:
	leaq	(%r9,%r9,2), %rax
	movb	(%r8,%rax), %cl
	movb	%cl, (%rbx)
	movb	1(%r8,%rax), %cl
	movb	%cl, (%r15)
	movb	2(%r8,%rax), %al
	movb	%al, (%r12)
	cmpq	$0, 32(%r13)
	je	LBB0_26
## %bb.8:
	movb	(%rbx), %cl
	cmpb	12(%r13), %cl
	jne	LBB0_26
## %bb.9:
	movb	(%r15), %cl
	cmpb	13(%r13), %cl
	jne	LBB0_26
## %bb.10:
	cmpb	14(%r13), %al
	je	LBB0_18
	jmp	LBB0_26
LBB0_11:
	movq	_LCT_PALETTE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_27
## %bb.12:
	movslq	8(%r13), %rdx
	cmpq	$8, %rdx
	jne	LBB0_32
## %bb.13:
	movzbl	(%r8,%r9), %eax
	cmpl	16(%r13), %eax
	jb	LBB0_33
LBB0_14:
	cmpl	$0, 24(%rbp)
	je	LBB0_41
## %bb.15:
	movb	$0, (%r12)
	movb	$0, (%r15)
	movb	$0, (%rbx)
	movb	$-1, %al
	jmp	LBB0_38
LBB0_16:
	movb	(%r8,%r9,2), %al
	movb	%al, (%r12)
	movb	%al, (%r15)
	movb	%al, (%rbx)
	cmpq	$0, 32(%r13)
	je	LBB0_26
## %bb.17:
	addq	%r9, %r9
	movzbl	(%r8,%r9), %eax
	shll	$8, %eax
	orq	$1, %r9
	movzbl	(%r8,%r9), %ecx
	orl	%eax, %ecx
	movzbl	12(%r13), %eax
	cmpl	%eax, %ecx
	jne	LBB0_26
LBB0_18:
	movb	$0, (%r14)
	jmp	LBB0_39
LBB0_19:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	shll	%cl, %r14d
	notl	%r14d
	imulq	%rcx, %r9
	movq	%r9, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r8, %rsi
	movq	%rcx, %rdx
	callq	_readBitsFromReversedStream
	movl	%eax, %ecx
	shll	$8, %eax
	subl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r14d
	movb	%al, (%r12)
	movb	%al, (%r15)
	movb	%al, (%rbx)
	cmpq	$0, 32(%r13)
	je	LBB0_30
## %bb.20:
	movzbl	12(%r13), %eax
	cmpl	%eax, %ecx
	jne	LBB0_30
## %bb.21:
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_22:
	addq	%r9, %r9
	leaq	(%r9,%r9,2), %rax
	movb	(%r8,%rax), %cl
	movb	%cl, (%rbx)
	movb	2(%r8,%rax), %cl
	movb	%cl, (%r15)
	movb	4(%r8,%rax), %cl
	movb	%cl, (%r12)
	cmpq	$0, 32(%r13)
	je	LBB0_26
## %bb.23:
	movzbl	(%r8,%rax), %ecx
	shll	$8, %ecx
	movq	%rax, %rdx
	orq	$1, %rdx
	movzbl	(%r8,%rdx), %edx
	orl	%ecx, %edx
	movzbl	12(%r13), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_26
## %bb.24:
	movzwl	2(%r8,%rax), %ecx
	rolw	$8, %cx
	movzwl	%cx, %ecx
	movzbl	13(%r13), %edx
	cmpl	%edx, %ecx
	jne	LBB0_26
## %bb.25:
	movzwl	4(%r8,%rax), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movzbl	14(%r13), %ecx
	cmpl	%ecx, %eax
	je	LBB0_18
LBB0_26:
	movb	$-1, (%r14)
	jmp	LBB0_39
LBB0_27:
	movq	_LCT_GREY_ALPHA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_34
## %bb.28:
	cmpl	$8, 8(%r13)
	jne	LBB0_37
## %bb.29:
	movb	(%r8,%r9,2), %al
	movb	%al, (%r12)
	movb	%al, (%r15)
	movb	%al, (%rbx)
	movb	1(%r8,%r9,2), %al
	jmp	LBB0_38
LBB0_30:
	movb	$-1, %al
LBB0_31:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx)
	jmp	LBB0_39
LBB0_32:
	imulq	%rdx, %r9
	movq	%r9, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r8, %rsi
	callq	_readBitsFromReversedStream
                                        ## kill: def $eax killed $eax def $rax
	cmpl	16(%r13), %eax
	jae	LBB0_14
LBB0_33:
	movq	24(%r13), %rcx
	shll	$2, %eax
	movb	(%rcx,%rax), %cl
	movb	%cl, (%rbx)
	movq	24(%r13), %rcx
	movb	1(%rcx,%rax), %cl
	movb	%cl, (%r15)
	movq	24(%r13), %rcx
	movb	2(%rcx,%rax), %cl
	movb	%cl, (%r12)
	movq	24(%r13), %rcx
	movb	3(%rcx,%rax), %al
	jmp	LBB0_38
LBB0_34:
	movq	_LCT_RGBA@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_40
## %bb.35:
	cmpl	$8, 8(%r13)
	jne	LBB0_42
## %bb.36:
	movb	(%r8,%r9,4), %cl
	movb	%cl, (%rbx)
	movb	1(%r8,%r9,4), %cl
	movb	%cl, (%r15)
	movb	2(%r8,%r9,4), %cl
	movb	%cl, (%r12)
	movb	3(%r8,%r9,4), %cl
	jmp	LBB0_43
LBB0_37:
	movb	(%r8,%r9,4), %al
	movb	%al, (%r12)
	movb	%al, (%r15)
	movb	%al, (%rbx)
	movb	2(%r8,%r9,4), %al
LBB0_38:
	movb	%al, (%r14)
LBB0_39:
	xorl	%eax, %eax
LBB0_40:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	xorl	%eax, %eax
	cmpl	$8, 8(%r13)
	sete	%al
	xorl	$47, %eax
	jmp	LBB0_40
LBB0_42:
	movb	(%r8,%r9,8), %cl
	movb	%cl, (%rbx)
	movb	2(%r8,%r9,8), %cl
	movb	%cl, (%r15)
	movb	4(%r8,%r9,8), %cl
	movb	%cl, (%r12)
	movb	6(%r8,%r9,8), %cl
LBB0_43:
	movb	%cl, (%r14)
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_LCT_GREY,8,3                   ## @LCT_GREY
	.comm	_LCT_RGB,8,3                    ## @LCT_RGB
	.comm	_LCT_PALETTE,8,3                ## @LCT_PALETTE
	.comm	_LCT_GREY_ALPHA,8,3             ## @LCT_GREY_ALPHA
	.comm	_LCT_RGBA,8,3                   ## @LCT_RGBA
	.no_dead_strip	_getPixelColorRGBA8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getPixelColorRGBA8
_getPixelColorRGBA8:                    ; @getPixelColorRGBA8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x6
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x8, [x6]
Lloh0:
	adrp	x9, _LCT_GREY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LCT_GREY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #16
	b.eq	LBB0_13
; %bb.2:
	cmp	w8, #8
	b.ne	LBB0_18
; %bb.3:
	ldrb	w8, [x4, x5]
	strb	w8, [x22]
	strb	w8, [x21]
	strb	w8, [x23]
	ldr	x9, [x20, #32]
	cbnz	x9, LBB0_15
	b	LBB0_25
LBB0_4:
Lloh3:
	adrp	x9, _LCT_RGB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LCT_RGB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	ldr	w8, [x20, #8]
	cmp	w8, #8
	b.ne	LBB0_21
; %bb.6:
	add	x8, x5, x5, lsl #1
	add	x8, x4, x8
	ldrb	w9, [x8]
	strb	w9, [x23]
	ldrb	w9, [x8, #1]
	strb	w9, [x21]
	ldrb	w8, [x8, #2]
	strb	w8, [x22]
	ldr	x9, [x20, #32]
	cbz	x9, LBB0_25
; %bb.7:
	ldrb	w9, [x23]
	ldrb	w10, [x20, #12]
	cmp	w9, w10
	b.ne	LBB0_25
; %bb.8:
	ldrb	w9, [x21]
	ldrb	w10, [x20, #13]
	cmp	w9, w10
	b.ne	LBB0_25
; %bb.9:
	ldrb	w9, [x20, #14]
	b	LBB0_16
LBB0_10:
Lloh6:
	adrp	x9, _LCT_PALETTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LCT_PALETTE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.11:
	mov	x24, x7
	ldrsw	x2, [x20, #8]
	cmp	w2, #8
	b.ne	LBB0_32
; %bb.12:
	ldrb	w0, [x4, x5]
	b	LBB0_33
LBB0_13:
	lsl	x8, x5, #1
	ldrb	w9, [x4, x8]
	strb	w9, [x22]
	strb	w9, [x21]
	strb	w9, [x23]
	ldr	x9, [x20, #32]
	cbz	x9, LBB0_25
; %bb.14:
	ldrb	w9, [x4, x8]
	orr	x8, x8, #0x1
	ldrb	w8, [x4, x8]
	bfi	w8, w9, #8, #8
LBB0_15:
	ldrb	w9, [x20, #12]
LBB0_16:
	cmp	w8, w9
	b.ne	LBB0_25
LBB0_17:
	mov	w0, #0
	strb	wzr, [x19]
	b	LBB0_27
LBB0_18:
	sxtw	x2, w8
	mov	w8, #-1
	lsl	w8, w8, w2
	mvn	w24, w8
	mul	x8, x2, x5
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x4
	bl	_readBitsFromReversedStream
	lsl	w8, w0, #8
	sub	w8, w8, w0
	udiv	w8, w8, w24
	strb	w8, [x22]
	strb	w8, [x21]
	strb	w8, [x23]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_31
; %bb.19:
	ldrb	w8, [x20, #12]
	cmp	w0, w8
	b.ne	LBB0_31
; %bb.20:
	mov	w8, #0
	mov	w0, #0
	b	LBB0_26
LBB0_21:
	add	x8, x5, x5, lsl #1
	lsl	x9, x8, #1
	ldrb	w8, [x4, x9]
	strb	w8, [x23]
	add	x10, x9, #2
	ldrb	w8, [x4, x10]
	strb	w8, [x21]
	add	x8, x9, #4
	ldrb	w11, [x4, x8]
	strb	w11, [x22]
	ldr	x11, [x20, #32]
	cbz	x11, LBB0_25
; %bb.22:
	ldrb	w11, [x4, x9]
	orr	x12, x9, #0x1
	ldrb	w12, [x4, x12]
	bfi	w12, w11, #8, #8
	ldrb	w11, [x20, #12]
	cmp	w12, w11
	b.ne	LBB0_25
; %bb.23:
	ldrb	w10, [x4, x10]
	add	x9, x9, x4
	ldrb	w11, [x9, #3]
	bfi	w11, w10, #8, #8
	ldrb	w10, [x20, #13]
	cmp	w11, w10
	b.ne	LBB0_25
; %bb.24:
	ldrb	w8, [x4, x8]
	ldrb	w9, [x9, #5]
	bfi	w9, w8, #8, #8
	ldrb	w8, [x20, #14]
	cmp	w9, w8
	b.eq	LBB0_17
LBB0_25:
	mov	w0, #0
	mov	w8, #255
LBB0_26:
	strb	w8, [x19]
LBB0_27:
	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
	add	sp, sp, #80
	ret
LBB0_28:
Lloh9:
	adrp	x9, _LCT_GREY_ALPHA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LCT_GREY_ALPHA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_35
; %bb.29:
	ldr	w8, [x20, #8]
	cmp	w8, #8
	b.ne	LBB0_40
; %bb.30:
	mov	w0, #0
	add	x8, x4, x5, lsl #1
	ldrb	w9, [x8]
	strb	w9, [x22]
	strb	w9, [x21]
	strb	w9, [x23]
	ldrb	w8, [x8, #1]
	b	LBB0_26
LBB0_31:
	mov	w8, #255
	mov	w0, #0
	b	LBB0_26
LBB0_32:
	mul	x8, x2, x5
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x4
	bl	_readBitsFromReversedStream
LBB0_33:
	ldr	w8, [x20, #16]
	cmp	w0, w8
	b.hs	LBB0_38
; %bb.34:
	ldr	x8, [x20, #24]
	lsl	w9, w0, #2
	ldrb	w8, [x8, x9]
	strb	w8, [x23]
	ldr	x8, [x20, #24]
	add	x8, x8, x9
	ldrb	w8, [x8, #1]
	strb	w8, [x21]
	ldr	x8, [x20, #24]
	add	x8, x8, x9
	ldrb	w8, [x8, #2]
	strb	w8, [x22]
	ldr	x8, [x20, #24]
	add	x8, x8, x9
	ldrb	w8, [x8, #3]
	mov	w0, #0
	b	LBB0_26
LBB0_35:
Lloh12:
	adrp	x9, _LCT_RGBA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LCT_RGBA@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_41
; %bb.36:
	ldr	w8, [x20, #8]
	cmp	w8, #8
	b.ne	LBB0_43
; %bb.37:
	mov	w0, #0
	add	x8, x4, x5, lsl #2
	ldrb	w9, [x8]
	strb	w9, [x23]
	ldrb	w9, [x8, #1]
	strb	w9, [x21]
	ldrb	w9, [x8, #2]
	strb	w9, [x22]
	ldrb	w8, [x8, #3]
	b	LBB0_26
LBB0_38:
	cbz	w24, LBB0_42
; %bb.39:
	strb	wzr, [x22]
	strb	wzr, [x21]
	mov	w8, #255
	strb	wzr, [x23]
	mov	w0, #0
	b	LBB0_26
LBB0_40:
	mov	w0, #0
	add	x8, x4, x5, lsl #2
	ldrb	w9, [x8]
	strb	w9, [x22]
	strb	w9, [x21]
	strb	w9, [x23]
	ldrb	w8, [x8, #2]
	b	LBB0_26
LBB0_41:
	mov	w0, #0
	b	LBB0_27
LBB0_42:
	ldr	w8, [x20, #8]
	cmp	w8, #8
	mov	w8, #46
	cinc	w0, w8, ne
	b	LBB0_27
LBB0_43:
	mov	w0, #0
	add	x8, x4, x5, lsl #3
	ldrb	w9, [x8]
	strb	w9, [x23]
	ldrb	w9, [x8, #2]
	strb	w9, [x21]
	ldrb	w9, [x8, #4]
	strb	w9, [x22]
	ldrb	w8, [x8, #6]
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LCT_GREY,8,3                   ; @LCT_GREY
	.comm	_LCT_RGB,8,3                    ; @LCT_RGB
	.comm	_LCT_PALETTE,8,3                ; @LCT_PALETTE
	.comm	_LCT_GREY_ALPHA,8,3             ; @LCT_GREY_ALPHA
	.comm	_LCT_RGBA,8,3                   ; @LCT_RGBA
	.no_dead_strip	_getPixelColorRGBA8
.subsections_via_symbols
