	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_is_compressed
_format_is_compressed:                  ## @format_is_compressed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDPF_FOURCC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movq	_WINED3DFMT_DXT1@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.3:
	movq	_WINED3DFMT_DXT2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.4:
	movq	_WINED3DFMT_DXT3@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.5:
	movq	_WINED3DFMT_DXT4@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.6:
	movq	_WINED3DFMT_DXT5@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDPF_FOURCC,4,2                ## @DDPF_FOURCC
	.comm	_WINED3DFMT_DXT1,8,3            ## @WINED3DFMT_DXT1
	.comm	_WINED3DFMT_DXT2,8,3            ## @WINED3DFMT_DXT2
	.comm	_WINED3DFMT_DXT3,8,3            ## @WINED3DFMT_DXT3
	.comm	_WINED3DFMT_DXT4,8,3            ## @WINED3DFMT_DXT4
	.comm	_WINED3DFMT_DXT5,8,3            ## @WINED3DFMT_DXT5
	.no_dead_strip	_format_is_compressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_is_compressed
_format_is_compressed:                  ; @format_is_compressed
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DDPF_FOURCC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DDPF_FOURCC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _WINED3DFMT_DXT1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3DFMT_DXT1@GOTPAGEOFF]
Lloh5:
	adrp	x10, _WINED3DFMT_DXT2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _WINED3DFMT_DXT2@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _WINED3DFMT_DXT3@GOTPAGE
Lloh10:
	ldr	x11, [x11, _WINED3DFMT_DXT3@GOTPAGEOFF]
Lloh11:
	adrp	x12, _WINED3DFMT_DXT4@GOTPAGE
Lloh12:
	ldr	x12, [x12, _WINED3DFMT_DXT4@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
Lloh14:
	ldr	x12, [x12]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
Lloh15:
	adrp	x9, _WINED3DFMT_DXT5@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WINED3DFMT_DXT5@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DDPF_FOURCC,4,2                ; @DDPF_FOURCC
	.comm	_WINED3DFMT_DXT1,8,3            ; @WINED3DFMT_DXT1
	.comm	_WINED3DFMT_DXT2,8,3            ; @WINED3DFMT_DXT2
	.comm	_WINED3DFMT_DXT3,8,3            ; @WINED3DFMT_DXT3
	.comm	_WINED3DFMT_DXT4,8,3            ; @WINED3DFMT_DXT4
	.comm	_WINED3DFMT_DXT5,8,3            ; @WINED3DFMT_DXT5
	.no_dead_strip	_format_is_compressed
.subsections_via_symbols
