	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_2d_texel_rgb_dxt1        ## -- Begin function fetch_2d_texel_rgb_dxt1
	.p2align	4, 0x90
_fetch_2d_texel_rgb_dxt1:               ## @fetch_2d_texel_rgb_dxt1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	3(%rdi), %eax
	addl	$6, %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	shrl	$2, %edi
	leal	3(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	shrl	$2, %eax
	imull	%edi, %eax
	leal	3(%rdx), %edi
	testl	%edx, %edx
	cmovnsl	%edx, %edi
	shrl	$2, %edi
	addl	%eax, %edi
	shll	$3, %edi
	movslq	%edi, %rax
	leaq	(%rsi,%rax,4), %rdi
	andl	$3, %edx
	andl	$3, %ecx
	movl	%edx, %esi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_dxt135_decode_imageblock       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_2d_texel_rgb_dxt1        ; -- Begin function fetch_2d_texel_rgb_dxt1
	.p2align	2
_fetch_2d_texel_rgb_dxt1:               ; @fetch_2d_texel_rgb_dxt1
	.cfi_startproc
; %bb.0:
	add	w8, w0, #3
	add	w9, w0, #6
	cmp	w8, #0
	csel	w8, w9, w8, lt
	lsr	w8, w8, #2
	add	w9, w3, #3
	cmp	w3, #0
	csel	w9, w9, w3, lt
	lsr	w9, w9, #2
	mul	w8, w9, w8
	add	w9, w2, #3
	cmp	w2, #0
	csel	w9, w9, w2, lt
	add	w8, w8, w9, lsr #2
	lsl	w8, w8, #3
	add	x0, x1, w8, sxtw #2
	and	w1, w2, #0x3
	and	w2, w3, #0x3
	mov	w3, #0
	b	_dxt135_decode_imageblock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
