	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_disable_pipestat          ## -- Begin function i915_disable_pipestat
	.p2align	4, 0x90
_i915_disable_pipestat:                 ## @i915_disable_pipestat
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_PIPESTAT
	movl	%eax, %r14d
	movq	_PIPESTAT_INT_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	%r13d, %ebx
	movl	%r15d, %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movl	%r13d, %ecx
	callq	_WARN_ONCE
	leaq	8(%r12), %rdi
	callq	_lockdep_assert_held
	movq	%r12, %rdi
	callq	_intel_irqs_enabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	(%r12), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %edx
	testl	%r13d, %edx
	je	LBB0_1
## %bb.2:
	movl	%r13d, %esi
	notl	%esi
	andl	%esi, %edx
	movl	%edx, (%rax,%rcx,4)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_i915_pipestat_enable_mask
	orl	%eax, %r13d
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_I915_WRITE
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPESTAT_INT_STATUS_MASK,4,2   ## @PIPESTAT_INT_STATUS_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pipe %c: status_mask=0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_disable_pipestat          ; -- Begin function i915_disable_pipestat
	.p2align	2
_i915_disable_pipestat:                 ; @i915_disable_pipestat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_PIPESTAT
	mov	x20, x0
Lloh0:
	adrp	x8, _PIPESTAT_INT_STATUS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPESTAT_INT_STATUS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w23, w19, w8
	mov	x0, x21
	bl	_pipe_name
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x3, x19
	bl	_WARN_ONCE
	add	x0, x22, #8
	bl	_lockdep_assert_held
	mov	x0, x22
	bl	_intel_irqs_enabled
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [x22]
	ldr	w9, [x8, w21, uxtw #2]
	tst	w9, w19
	b.eq	LBB0_2
; %bb.1:
	mov	w10, w21
	bic	w9, w9, w19
	str	w9, [x8, x10, lsl #2]
	mov	x0, x22
	mov	x1, x21
	bl	_i915_pipestat_enable_mask
	orr	w1, w0, w19
	mov	x0, x20
	bl	_I915_WRITE
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_POSTING_READ
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPESTAT_INT_STATUS_MASK,4,2   ; @PIPESTAT_INT_STATUS_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pipe %c: status_mask=0x%x\n"

.subsections_via_symbols
