	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bdw_update_pipe_irq            ## -- Begin function bdw_update_pipe_irq
	.p2align	4, 0x90
_bdw_update_pipe_irq:                   ## @bdw_update_pipe_irq
	.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	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movl	%r12d, %ebx
	notl	%ebx
	movl	%ebx, %edi
	andl	%r13d, %edi
	callq	_WARN_ON
	movq	%r15, %rdi
	callq	_intel_irqs_enabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	(%rax,%r14,4), %ecx
	andl	%ecx, %ebx
	notl	%r13d
	andl	%r12d, %r13d
	orl	%ebx, %r13d
	cmpl	%ecx, %r13d
	jne	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%r13d, (%rax,%r14,4)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_GEN8_DE_PIPE_IMR
	movq	(%r15), %rcx
	movl	(%rcx,%r14,4), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_GEN8_DE_PIPE_IMR
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bdw_update_pipe_irq            ; -- Begin function bdw_update_pipe_irq
	.p2align	2
_bdw_update_pipe_irq:                   ; @bdw_update_pipe_irq
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	bic	w0, w21, w22
	bl	_WARN_ON
	mov	x0, x20
	bl	_intel_irqs_enabled
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	mvn	w9, w22
	ldr	x8, [x20]
	ldr	w10, [x8, w19, uxtw #2]
	and	w9, w10, w9
	bic	w11, w22, w21
	orr	w9, w9, w11
	cmp	w9, w10
	b.ne	LBB0_3
LBB0_2:
	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
	ret
LBB0_3:
	mov	w10, w19
	lsl	x21, x10, #2
	str	w9, [x8, x21]
	mov	x0, x19
	bl	_GEN8_DE_PIPE_IMR
	ldr	x8, [x20]
	ldr	w1, [x8, x21]
	bl	_I915_WRITE
	mov	x0, x19
	bl	_GEN8_DE_PIPE_IMR
	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	_POSTING_READ
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
