	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_arb_get_write_mask
_shader_arb_get_write_mask:             ## @shader_arb_get_write_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_WINED3DSP_WRITEMASK_ALL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.1:
	movb	$46, (%rdx)
	movl	(%rsi), %eax
	movq	_WINED3DSP_WRITEMASK_0@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movb	$120, 1(%rdx)
	addq	$2, %rdx
	movl	(%rsi), %eax
	jmp	LBB0_4
LBB0_2:
	incq	%rdx
LBB0_4:
	movq	_WINED3DSP_WRITEMASK_1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movb	$121, (%rdx)
	incq	%rdx
	movl	(%rsi), %eax
LBB0_6:
	movq	_WINED3DSP_WRITEMASK_2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movb	$122, (%rdx)
	incq	%rdx
	movl	(%rsi), %eax
LBB0_8:
	movq	_WINED3DSP_WRITEMASK_3@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movb	$119, (%rdx)
	incq	%rdx
LBB0_10:
	movb	$0, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DSP_WRITEMASK_ALL,4,2    ## @WINED3DSP_WRITEMASK_ALL
	.comm	_WINED3DSP_WRITEMASK_0,4,2      ## @WINED3DSP_WRITEMASK_0
	.comm	_WINED3DSP_WRITEMASK_1,4,2      ## @WINED3DSP_WRITEMASK_1
	.comm	_WINED3DSP_WRITEMASK_2,4,2      ## @WINED3DSP_WRITEMASK_2
	.comm	_WINED3DSP_WRITEMASK_3,4,2      ## @WINED3DSP_WRITEMASK_3
	.no_dead_strip	_shader_arb_get_write_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_arb_get_write_mask
_shader_arb_get_write_mask:             ; @shader_arb_get_write_mask
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WINED3DSP_WRITEMASK_ALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.1:
	mov	w8, #46
	mov	x9, x2
	strb	w8, [x9], #1
	ldr	w8, [x1]
Lloh3:
	adrp	x10, _WINED3DSP_WRITEMASK_0@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WINED3DSP_WRITEMASK_0@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #120
	strb	w8, [x2, #1]
	add	x2, x2, #2
	ldr	w8, [x1]
	b	LBB0_4
LBB0_3:
	mov	x2, x9
LBB0_4:
Lloh6:
	adrp	x9, _WINED3DSP_WRITEMASK_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #121
	strb	w8, [x2], #1
	ldr	w8, [x1]
LBB0_6:
Lloh9:
	adrp	x9, _WINED3DSP_WRITEMASK_2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w8, #122
	strb	w8, [x2], #1
	ldr	w8, [x1]
LBB0_8:
Lloh12:
	adrp	x9, _WINED3DSP_WRITEMASK_3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_3@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	w8, #119
	strb	w8, [x2], #1
LBB0_10:
	strb	wzr, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DSP_WRITEMASK_ALL,4,2    ; @WINED3DSP_WRITEMASK_ALL
	.comm	_WINED3DSP_WRITEMASK_0,4,2      ; @WINED3DSP_WRITEMASK_0
	.comm	_WINED3DSP_WRITEMASK_1,4,2      ; @WINED3DSP_WRITEMASK_1
	.comm	_WINED3DSP_WRITEMASK_2,4,2      ; @WINED3DSP_WRITEMASK_2
	.comm	_WINED3DSP_WRITEMASK_3,4,2      ; @WINED3DSP_WRITEMASK_3
	.no_dead_strip	_shader_arb_get_write_mask
.subsections_via_symbols
