	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_write_mask_to_str
_shader_glsl_write_mask_to_str:         ## @shader_glsl_write_mask_to_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	$46, (%rsi)
	movq	_WINED3DSP_WRITEMASK_0@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_1
## %bb.2:
	movb	$120, 1(%rsi)
	addq	$2, %rsi
	jmp	LBB0_3
LBB0_1:
	incq	%rsi
LBB0_3:
	movq	_WINED3DSP_WRITEMASK_1@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.4:
	movb	$121, (%rsi)
	incq	%rsi
LBB0_5:
	movq	_WINED3DSP_WRITEMASK_2@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_7
## %bb.6:
	movb	$122, (%rsi)
	incq	%rsi
LBB0_7:
	movq	_WINED3DSP_WRITEMASK_3@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_9
## %bb.8:
	movb	$119, (%rsi)
	incq	%rsi
LBB0_9:
	movb	$0, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_glsl_write_mask_to_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_write_mask_to_str
_shader_glsl_write_mask_to_str:         ; @shader_glsl_write_mask_to_str
	.cfi_startproc
; %bb.0:
	mov	w9, #46
	mov	x8, x1
	strb	w9, [x8], #1
Lloh0:
	adrp	x9, _WINED3DSP_WRITEMASK_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_2
; %bb.1:
	add	x8, x1, #2
	mov	w9, #120
	strb	w9, [x1, #1]
LBB0_2:
Lloh3:
	adrp	x9, _WINED3DSP_WRITEMASK_1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_4
; %bb.3:
	mov	w9, #121
	strb	w9, [x8], #1
LBB0_4:
Lloh6:
	adrp	x9, _WINED3DSP_WRITEMASK_2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_2@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_6
; %bb.5:
	mov	w9, #122
	strb	w9, [x8], #1
LBB0_6:
Lloh9:
	adrp	x9, _WINED3DSP_WRITEMASK_3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WINED3DSP_WRITEMASK_3@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_8
; %bb.7:
	mov	w9, #119
	strb	w9, [x8], #1
LBB0_8:
	strb	wzr, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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_glsl_write_mask_to_str
.subsections_via_symbols
