	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_engine_set_hwsp_writemask ## -- Begin function intel_engine_set_hwsp_writemask
	.p2align	4, 0x90
_intel_engine_set_hwsp_writemask:       ## @intel_engine_set_hwsp_writemask
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_INTEL_GEN
	cmpl	$5, %eax
	jg	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_RENDER_CLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movl	8(%rbx), %edi
	callq	_INTEL_GEN
	movq	_RING_HWSTAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	cmpl	$3, %eax
	jl	LBB0_3
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ENGINE_WRITE                   ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ENGINE_WRITE16                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RENDER_CLASS,8,3               ## @RENDER_CLASS
	.comm	_RING_HWSTAM,4,2                ## @RING_HWSTAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_engine_set_hwsp_writemask ; -- Begin function intel_engine_set_hwsp_writemask
	.p2align	2
_intel_engine_set_hwsp_writemask:       ; @intel_engine_set_hwsp_writemask
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_INTEL_GEN
	cmp	w0, #5
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _RENDER_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RENDER_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
	ldr	w0, [x20, #8]
	bl	_INTEL_GEN
Lloh3:
	adrp	x8, _RING_HWSTAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RING_HWSTAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cmp	w0, #3
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ENGINE_WRITE
LBB0_4:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ENGINE_WRITE16
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RENDER_CLASS,8,3               ; @RENDER_CLASS
	.comm	_RING_HWSTAM,4,2                ; @RING_HWSTAM
.subsections_via_symbols
