	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_wa_827
_skl_wa_827:                            ## @skl_wa_827
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movl	%esi, %edi
	callq	_CLKGATE_DIS_PSL
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_CLKGATE_DIS_PSL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_DUPS1_GATING_DIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	orl	%eax, %esi
	movq	_DUPS2_GATING_DIS@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_3
LBB0_2:
	movq	_DUPS2_GATING_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
LBB0_3:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPS1_GATING_DIS,4,2           ## @DUPS1_GATING_DIS
	.comm	_DUPS2_GATING_DIS,4,2           ## @DUPS2_GATING_DIS
	.no_dead_strip	_skl_wa_827
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_wa_827
_skl_wa_827:                            ; @skl_wa_827
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x0, x1
	bl	_CLKGATE_DIS_PSL
	mov	x19, x0
	mov	x0, x21
	bl	_CLKGATE_DIS_PSL
	bl	_I915_READ
Lloh0:
	adrp	x8, _DUPS1_GATING_DIS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPS1_GATING_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w20, LBB0_2
; %bb.1:
	orr	w8, w8, w0
Lloh3:
	adrp	x9, _DUPS2_GATING_DIS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DUPS2_GATING_DIS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w8, w9
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x9, _DUPS2_GATING_DIS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DUPS2_GATING_DIS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w1, w0, w8
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPS1_GATING_DIS,4,2           ; @DUPS1_GATING_DIS
	.comm	_DUPS2_GATING_DIS,4,2           ; @DUPS2_GATING_DIS
	.no_dead_strip	_skl_wa_827
.subsections_via_symbols
