	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_dxt1_decode            ## -- Begin function wined3d_dxt1_decode
	.p2align	4, 0x90
_wined3d_dxt1_decode:                   ## @wined3d_dxt1_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
                                        ## kill: def $r8d killed $r8d def $r8
	movq	_txc_dxtn_handle@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.1:
	leal	-128(%r8), %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.2:
	movl	16(%rbp), %r10d
	leaq	LJTI0_0(%rip), %r8
	movslq	(%r8,%rax,4), %rax
	addq	%r8, %rax
	jmpq	*%rax
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	%r9d, %r8d
	movl	%r10d, %r9d
	callq	_dxt1_to_x8r8g8b8
	jmp	LBB0_14
LBB0_11:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	%r9d, %r8d
	movl	%r10d, %r9d
	callq	_dxt1_to_x1r5g5b5
	jmp	LBB0_14
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	%r9d, %r8d
	movl	%r10d, %r9d
	callq	_dxt1_to_x4r4g4b4
	jmp	LBB0_14
LBB0_12:
	movl	%r8d, %edi
	callq	_debug_d3dformat
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
LBB0_13:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_txc_dxtn_handle,4,2            ## @txc_dxtn_handle
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot find a conversion function from format DXT1 to %s.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_dxt1_decode            ; -- Begin function wined3d_dxt1_decode
	.p2align	2
_wined3d_dxt1_decode:                   ; @wined3d_dxt1_decode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _txc_dxtn_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _txc_dxtn_handle@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.1:
	sub	w8, w4, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	mov	x4, x5
	mov	x5, x6
	mov	x6, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_dxt1_to_x8r8g8b8
LBB0_6:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	mov	x4, x5
	mov	x5, x6
	mov	x6, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_dxt1_to_x1r5g5b5
LBB0_9:
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	mov	x4, x5
	mov	x5, x6
	mov	x6, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_dxt1_to_x4r4g4b4
LBB0_12:
	mov	x0, x4
	bl	_debug_d3dformat
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_13:
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_txc_dxtn_handle,4,2            ; @txc_dxtn_handle
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot find a conversion function from format DXT1 to %s.\n"

.subsections_via_symbols
