	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_txe_pending_interrupts
_mei_txe_pending_interrupts:            ## @mei_txe_pending_interrupts
	.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
	movq	%rdi, %r14
	callq	_to_txe_hw
	movl	(%rax), %eax
	movq	_TXE_INTR_READINESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_TXE_INTR_ALIVENESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r9d, %edx
	orl	%esi, %edx
	movq	_TXE_INTR_IN_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TXE_INTR_OUT_DB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r10d
	movl	%ecx, %ebx
	orl	%r10d, %ebx
	orl	%edx, %ebx
	andl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	xorl	%ecx, %ecx
	testl	%eax, %esi
	setne	%cl
	xorl	%r8d, %r8d
	testl	%eax, %r9d
	setne	%r8b
	xorl	%r9d, %r9d
	testl	%eax, %r10d
	setne	%r9b
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXE_INTR_READINESS,4,2         ## @TXE_INTR_READINESS
	.comm	_TXE_INTR_ALIVENESS,4,2         ## @TXE_INTR_ALIVENESS
	.comm	_TXE_INTR_IN_READY,4,2          ## @TXE_INTR_IN_READY
	.comm	_TXE_INTR_OUT_DB,4,2            ## @TXE_INTR_OUT_DB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pending Interrupts InReady=%01d Readiness=%01d, Aliveness=%01d, OutDoor=%01d\n"

	.no_dead_strip	_mei_txe_pending_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_txe_pending_interrupts
_mei_txe_pending_interrupts:            ; @mei_txe_pending_interrupts
	.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	x20, x0
	bl	_to_txe_hw
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TXE_INTR_READINESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TXE_INTR_READINESS@GOTPAGEOFF]
Lloh2:
	adrp	x11, _TXE_INTR_ALIVENESS@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TXE_INTR_ALIVENESS@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x9]
Lloh5:
	ldr	w9, [x11]
	orr	w11, w9, w10
Lloh6:
	adrp	x12, _TXE_INTR_IN_READY@GOTPAGE
Lloh7:
	ldr	x12, [x12, _TXE_INTR_IN_READY@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	orr	w13, w11, w12
Lloh9:
	adrp	x11, _TXE_INTR_OUT_DB@GOTPAGE
Lloh10:
	ldr	x11, [x11, _TXE_INTR_OUT_DB@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w13, w13, w11
	ands	w19, w13, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	tst	w12, w8
	cset	w2, ne
	tst	w10, w8
	cset	w3, ne
	tst	w9, w8
	cset	w4, ne
	tst	w11, w8
	cset	w5, ne
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TXE_INTR_READINESS,4,2         ; @TXE_INTR_READINESS
	.comm	_TXE_INTR_ALIVENESS,4,2         ; @TXE_INTR_ALIVENESS
	.comm	_TXE_INTR_IN_READY,4,2          ; @TXE_INTR_IN_READY
	.comm	_TXE_INTR_OUT_DB,4,2            ; @TXE_INTR_OUT_DB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pending Interrupts InReady=%01d Readiness=%01d, Aliveness=%01d, OutDoor=%01d\n"

	.no_dead_strip	_mei_txe_pending_interrupts
.subsections_via_symbols
