	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_modifier
_add_modifier:                          ## @add_modifier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_D3DSP_DSTMOD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_D3DSPDM_SATURATE@GOTPCREL(%rip), %rcx
	movq	%rdi, %rax
	testl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	movb	$0, 4(%rdi)
	movl	$1952543583, (%rdi)             ## imm = 0x7461735F
	leaq	4(%rdi), %rax
LBB0_2:
	movq	_D3DSPDM_PARTIALPRECISION@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$7368799, (%rax)                ## imm = 0x70705F
	addq	$3, %rax
LBB0_4:
	movq	_D3DSPDM_MSAMPCENTROID@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_6
## %bb.5:
	movabsq	$7597416940791227231, %rcx      ## imm = 0x696F72746E65635F
	movq	%rcx, (%rax)
	movw	$100, 8(%rax)
	addq	$9, %rax
LBB0_6:
	subl	%edi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DSP_DSTMOD_MASK,4,2          ## @D3DSP_DSTMOD_MASK
	.comm	_D3DSPDM_SATURATE,4,2           ## @D3DSPDM_SATURATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_sat"

	.comm	_D3DSPDM_PARTIALPRECISION,4,2   ## @D3DSPDM_PARTIALPRECISION
	.comm	_D3DSPDM_MSAMPCENTROID,4,2      ## @D3DSPDM_MSAMPCENTROID
L_.str.2:                               ## @.str.2
	.asciz	"_centroid"

	.no_dead_strip	_add_modifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_modifier
_add_modifier:                          ; @add_modifier
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _D3DSP_DSTMOD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D3DSP_DSTMOD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w8, w1
Lloh3:
	adrp	x8, _D3DSPDM_SATURATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3DSPDM_SATURATE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	mov	x8, x0
	tst	w9, w10
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #29535
	movk	w8, #29793, lsl #16
	str	w8, [x0]
	mov	x8, x0
	strb	wzr, [x8, #4]!
LBB0_2:
Lloh6:
	adrp	x10, _D3DSPDM_PARTIALPRECISION@GOTPAGE
Lloh7:
	ldr	x10, [x10, _D3DSPDM_PARTIALPRECISION@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w10, #28767
	movk	w10, #112, lsl #16
	str	w10, [x8], #3
LBB0_4:
Lloh9:
	adrp	x10, _D3DSPDM_MSAMPCENTROID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _D3DSPDM_MSAMPCENTROID@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
	mov	w9, #100
	strh	w9, [x8, #8]
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh14:
	ldr	x9, [x9]
	str	x9, [x8], #9
LBB0_6:
	sub	w0, w8, w0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAddLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DSP_DSTMOD_MASK,4,2          ; @D3DSP_DSTMOD_MASK
	.comm	_D3DSPDM_SATURATE,4,2           ; @D3DSPDM_SATURATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_sat"

	.comm	_D3DSPDM_PARTIALPRECISION,4,2   ; @D3DSPDM_PARTIALPRECISION
	.comm	_D3DSPDM_MSAMPCENTROID,4,2      ; @D3DSPDM_MSAMPCENTROID
l_.str.2:                               ; @.str.2
	.asciz	"_centroid"

	.no_dead_strip	_add_modifier
.subsections_via_symbols
