	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getPaletteTranslucency
_getPaletteTranslucency:                ## @getPaletteTranslucency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	xorl	%r8d, %r8d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rsi, %rcx
	jae	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rcx,4), %rdx
	movzbl	3(%rdi,%rcx,4), %ebx
	testq	%r11, %r11
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %eax
	cmpb	$-1, %bl
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rdi,%rdx), %ebx
	movl	$1, %r11d
	cmpl	%ebx, %r10d
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rbx
	orq	$1, %rbx
	movzbl	(%rdi,%rbx), %ebx
	cmpl	%ebx, %r9d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	orq	$2, %rdx
	movzbl	(%rdi,%rdx), %edx
	cmpl	%edx, %r8d
	jne	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$-1, %bl
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%bl, %bl
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rdi,%rdx), %r10d
	movq	%rdx, %rax
	orq	$1, %rax
	movzbl	(%rdi,%rax), %r9d
	orq	$2, %rdx
	movzbl	(%rdi,%rdx), %r8d
	movl	$1, %r11d
	movq	$-1, %rcx
	jmp	LBB0_13
LBB0_1:
	xorl	%r11d, %r11d
LBB0_14:
	movl	%r11d, %eax
LBB0_15:
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movl	$2, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getPaletteTranslucency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getPaletteTranslucency
_getPaletteTranslucency:                ; @getPaletteTranslucency
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_13
; %bb.1:
	mov	w11, #0
	mov	w10, #0
	mov	w9, #0
	mov	x8, #0
	mov	x12, #0
	b	LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w14, #255
	b.eq	LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w14, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w9, [x0, x13]
	orr	x8, x13, #0x1
	ldrb	w10, [x0, x8]
	orr	x8, x13, #0x2
	ldrb	w11, [x0, x8]
	mov	x12, #-1
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x12, #1
	cmp	x12, x1
	b.hs	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x12, #2
	add	x14, x0, x13
	ldrb	w14, [x14, #3]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w14, #255
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x0, x13]
	cmp	w9, w8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	orr	x8, x13, #0x1
	ldrb	w8, [x0, x8]
	cmp	w10, w8
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	orr	x8, x13, #0x2
	ldrb	w8, [x0, x8]
	cmp	w11, w8
	b.ne	LBB0_5
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, #0
	b	LBB0_6
LBB0_13:
	mov	x8, #0
LBB0_14:
	mov	x0, x8
	ret
LBB0_15:
	mov	w8, #2
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getPaletteTranslucency
.subsections_via_symbols
