	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_legacy_srcmod
_check_legacy_srcmod:                   ## @check_legacy_srcmod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BWRITERSPSM_BIAS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.1:
	movq	_BWRITERSPSM_BIASNEG@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.2:
	movq	_BWRITERSPSM_SIGN@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.3:
	movq	_BWRITERSPSM_SIGNNEG@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.4:
	movq	_BWRITERSPSM_COMP@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.5:
	movq	_BWRITERSPSM_X2@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.6:
	movq	_BWRITERSPSM_X2NEG@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.7:
	movq	_BWRITERSPSM_DZ@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.8:
	movq	_BWRITERSPSM_DW@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movl	4(%rbx), %r14d
	movq	%rsi, %rdi
	callq	_debug_print_srcmod
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_asmparser_message
	movq	_PARSE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_parse_status               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BWRITERSPSM_BIAS,8,3           ## @BWRITERSPSM_BIAS
	.comm	_BWRITERSPSM_BIASNEG,8,3        ## @BWRITERSPSM_BIASNEG
	.comm	_BWRITERSPSM_SIGN,8,3           ## @BWRITERSPSM_SIGN
	.comm	_BWRITERSPSM_SIGNNEG,8,3        ## @BWRITERSPSM_SIGNNEG
	.comm	_BWRITERSPSM_COMP,8,3           ## @BWRITERSPSM_COMP
	.comm	_BWRITERSPSM_X2,8,3             ## @BWRITERSPSM_X2
	.comm	_BWRITERSPSM_X2NEG,8,3          ## @BWRITERSPSM_X2NEG
	.comm	_BWRITERSPSM_DZ,8,3             ## @BWRITERSPSM_DZ
	.comm	_BWRITERSPSM_DW,8,3             ## @BWRITERSPSM_DW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Line %u: Source modifier %s not supported in this shader version\n"

	.comm	_PARSE_ERR,4,2                  ## @PARSE_ERR
	.no_dead_strip	_check_legacy_srcmod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_legacy_srcmod
_check_legacy_srcmod:                   ; @check_legacy_srcmod
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _BWRITERSPSM_BIAS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BWRITERSPSM_BIAS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BWRITERSPSM_BIASNEG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BWRITERSPSM_BIASNEG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _BWRITERSPSM_SIGN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BWRITERSPSM_SIGN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _BWRITERSPSM_SIGNNEG@GOTPAGE
Lloh10:
	ldr	x11, [x11, _BWRITERSPSM_SIGNNEG@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _BWRITERSPSM_COMP@GOTPAGE
Lloh13:
	ldr	x12, [x12, _BWRITERSPSM_COMP@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
Lloh15:
	adrp	x13, _BWRITERSPSM_X2@GOTPAGE
Lloh16:
	ldr	x13, [x13, _BWRITERSPSM_X2@GOTPAGEOFF]
Lloh17:
	ldr	x13, [x13]
Lloh18:
	adrp	x14, _BWRITERSPSM_X2NEG@GOTPAGE
Lloh19:
	ldr	x14, [x14, _BWRITERSPSM_X2NEG@GOTPAGEOFF]
Lloh20:
	ldr	x14, [x14]
Lloh21:
	adrp	x15, _BWRITERSPSM_DZ@GOTPAGE
Lloh22:
	ldr	x15, [x15, _BWRITERSPSM_DZ@GOTPAGEOFF]
Lloh23:
	ldr	x15, [x15]
Lloh24:
	adrp	x16, _BWRITERSPSM_DW@GOTPAGE
Lloh25:
	ldr	x16, [x16, _BWRITERSPSM_DW@GOTPAGEOFF]
Lloh26:
	ldr	x16, [x16]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	ccmp	x10, x1, #4, ne
	ccmp	x11, x1, #4, ne
	ccmp	x12, x1, #4, ne
	ccmp	x13, x1, #4, ne
	ccmp	x14, x1, #4, ne
	ccmp	x15, x1, #4, ne
	ccmp	x16, x1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w20, [x0, #4]
	mov	x0, x1
	bl	_debug_print_srcmod
	mov	x3, x0
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_asmparser_message
Lloh29:
	adrp	x8, _PARSE_ERR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PARSE_ERR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_parse_status
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_BWRITERSPSM_BIAS,8,3           ; @BWRITERSPSM_BIAS
	.comm	_BWRITERSPSM_BIASNEG,8,3        ; @BWRITERSPSM_BIASNEG
	.comm	_BWRITERSPSM_SIGN,8,3           ; @BWRITERSPSM_SIGN
	.comm	_BWRITERSPSM_SIGNNEG,8,3        ; @BWRITERSPSM_SIGNNEG
	.comm	_BWRITERSPSM_COMP,8,3           ; @BWRITERSPSM_COMP
	.comm	_BWRITERSPSM_X2,8,3             ; @BWRITERSPSM_X2
	.comm	_BWRITERSPSM_X2NEG,8,3          ; @BWRITERSPSM_X2NEG
	.comm	_BWRITERSPSM_DZ,8,3             ; @BWRITERSPSM_DZ
	.comm	_BWRITERSPSM_DW,8,3             ; @BWRITERSPSM_DW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line %u: Source modifier %s not supported in this shader version\n"

	.comm	_PARSE_ERR,4,2                  ; @PARSE_ERR
	.no_dead_strip	_check_legacy_srcmod
.subsections_via_symbols
