	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_dxt5_decode            ## -- Begin function wined3d_dxt5_decode
	.p2align	4, 0x90
_wined3d_dxt5_decode:                   ## @wined3d_dxt5_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
	movq	_txc_dxtn_handle@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movl	16(%rbp), %r10d
	cmpl	$128, %r8d
	je	LBB0_5
## %bb.2:
	cmpl	$129, %r8d
	jne	LBB0_6
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	%r9d, %r8d
	movl	%r10d, %r9d
	callq	_dxt5_to_x8r8g8b8
	jmp	LBB0_8
LBB0_6:
	movl	%r8d, %edi
	callq	_debug_d3dformat
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- 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 DXT5 to %s.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_dxt5_decode            ; -- Begin function wined3d_dxt5_decode
	.p2align	2
_wined3d_dxt5_decode:                   ; @wined3d_dxt5_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_7
; %bb.1:
	cmp	w4, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w4, #129
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@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	_dxt5_to_x8r8g8b8
LBB0_6:
	mov	x0, x4
	bl	_debug_d3dformat
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_7:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- 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 DXT5 to %s.\n"

.subsections_via_symbols
