	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dxt5ys_block
_dxt5ys_block:                          ## @dxt5ys_block
	.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	%r12
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movslq	%esi, %r12
	leaq	-304(%rbp), %r14
	movq	%r14, %rdi
	movq	%rdx, %rsi
	callq	_rgba2ycocg
	leaq	-288(%rbp), %rdi
	leaq	16(%rbx), %rsi
	callq	_rgba2ycocg
	leaq	-272(%rbp), %rdi
	leaq	32(%rbx), %rsi
	callq	_rgba2ycocg
	leaq	-256(%rbp), %rdi
	leaq	48(%rbx), %rsi
	callq	_rgba2ycocg
	leaq	-240(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	callq	_rgba2ycocg
	leaq	-224(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$16, %rsi
	callq	_rgba2ycocg
	leaq	-208(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$32, %rsi
	callq	_rgba2ycocg
	leaq	-192(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$48, %rsi
	callq	_rgba2ycocg
	leaq	-176(%rbp), %rdi
	leaq	(%rbx,%r12,8), %rsi
	callq	_rgba2ycocg
	leaq	-160(%rbp), %rdi
	leaq	(%rbx,%r12,8), %rsi
	addq	$16, %rsi
	callq	_rgba2ycocg
	leaq	-144(%rbp), %rdi
	leaq	(%rbx,%r12,8), %rsi
	addq	$32, %rsi
	callq	_rgba2ycocg
	leaq	-128(%rbp), %rdi
	leaq	(%rbx,%r12,8), %rsi
	addq	$48, %rsi
	callq	_rgba2ycocg
	leaq	-112(%rbp), %rdi
	leaq	(%r12,%r12,2), %r12
	leaq	(%rbx,%r12,4), %rsi
	callq	_rgba2ycocg
	leaq	-96(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$16, %rsi
	callq	_rgba2ycocg
	leaq	-80(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$32, %rsi
	callq	_rgba2ycocg
	leaq	-64(%rbp), %rdi
	leaq	(%rbx,%r12,4), %rsi
	addq	$48, %rsi
	callq	_rgba2ycocg
	movq	%r15, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_compress_alpha
	addq	$32, %r15
	movq	%r15, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_compress_color
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	movl	$16, %eax
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dxt5ys_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dxt5ys_block
_dxt5ys_block:                          ; @dxt5ys_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x23, sp, #8
	add	x0, sp, #8
	mov	x1, x2
	bl	_rgba2ycocg
	add	x0, x23, #16
	add	x1, x20, #16
	bl	_rgba2ycocg
	add	x0, x23, #32
	add	x1, x20, #32
	bl	_rgba2ycocg
	add	x0, x23, #48
	add	x1, x20, #48
	bl	_rgba2ycocg
	add	x0, x23, #64
	add	x22, x20, w21, sxtw #2
	mov	x1, x22
	bl	_rgba2ycocg
	add	x0, x23, #80
	add	x1, x22, #16
	bl	_rgba2ycocg
	add	x0, x23, #96
	add	x1, x22, #32
	bl	_rgba2ycocg
	add	x0, x23, #112
	add	x1, x22, #48
	bl	_rgba2ycocg
	add	x0, x23, #128
	add	x22, x20, w21, sxtw #3
	mov	x1, x22
	bl	_rgba2ycocg
	add	x0, x23, #144
	add	x1, x22, #16
	bl	_rgba2ycocg
	add	x0, x23, #160
	add	x1, x22, #32
	bl	_rgba2ycocg
	add	x0, x23, #176
	add	x1, x22, #48
	bl	_rgba2ycocg
	add	x0, x23, #192
	mov	w8, #12
	smaddl	x20, w21, w8, x20
	mov	x1, x20
	bl	_rgba2ycocg
	add	x0, x23, #208
	add	x1, x20, #16
	bl	_rgba2ycocg
	add	x0, x23, #224
	add	x1, x20, #32
	bl	_rgba2ycocg
	add	x0, x23, #240
	add	x1, x20, #48
	bl	_rgba2ycocg
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #16
	bl	_compress_alpha
	add	x0, x19, #32
	add	x2, sp, #8
	mov	w1, #16
	bl	_compress_color
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #16
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dxt5ys_block
.subsections_via_symbols
