	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atifs_srgbwriteenable
_atifs_srgbwriteenable:                 ## @atifs_srgbwriteenable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_WINED3D_RS_SRGBWRITEENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_SRGBWRITEENABLE,8,3 ## @WINED3D_RS_SRGBWRITEENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sRGB writes are not supported by this fragment pipe.\n"

	.no_dead_strip	_atifs_srgbwriteenable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atifs_srgbwriteenable
_atifs_srgbwriteenable:                 ; @atifs_srgbwriteenable
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WINED3D_RS_SRGBWRITEENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_RS_SRGBWRITEENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	_WARN
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_SRGBWRITEENABLE,8,3 ; @WINED3D_RS_SRGBWRITEENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sRGB writes are not supported by this fragment pipe.\n"

	.no_dead_strip	_atifs_srgbwriteenable
.subsections_via_symbols
