	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_dorq_attn_int_sts
_qed_dorq_attn_int_sts:                 ## @qed_dorq_attn_int_sts
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	_DORQ_REG_INT_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_qed_rd
	movl	%eax, %r15d
	movq	_DORQ_REG_INT_STS_DORQ_FIFO_AFULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%eax, %r15d
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_DORQ_REG_INT_STS_DB_DROP@GOTPCREL(%rip), %rcx
	movq	_DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%r15d, %eax
	je	LBB0_4
## %bb.3:
	movq	_DORQ_REG_DB_DROP_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qed_rd
	movq	_QED_DORQ_ATTENTION_REASON_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_DORQ_REG_DB_DROP_DETAILS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qed_rd
	movl	%eax, %r13d
	movq	_DORQ_REG_DB_DROP_DETAILS_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qed_rd
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_DORQ_REG_DB_DROP_DETAILS_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qed_rd
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_QED_DORQ_ATTENTION_OPAQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_GET_FIELD
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_QED_DORQ_ATTENTION_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %r8d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_DORQ_REG_DB_DROP_DETAILS_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	_DORQ_REG_INT_STS_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_DORQ_REG_INT_STS_DB_DROP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qed_wr
	movl	(%r13), %eax
	movq	_DORQ_REG_INT_STS_DB_DROP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DORQ_REG_INT_STS_DORQ_FIFO_AFULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	testl	%eax, %r15d
	je	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DORQ_REG_INT_STS,4,2           ## @DORQ_REG_INT_STS
	.comm	_DORQ_REG_INT_STS_DORQ_FIFO_AFULL,4,2 ## @DORQ_REG_INT_STS_DORQ_FIFO_AFULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DORQ attention. int_sts was %x\n"

	.comm	_DORQ_REG_INT_STS_DB_DROP,4,2   ## @DORQ_REG_INT_STS_DB_DROP
	.comm	_DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR,4,2 ## @DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR
	.comm	_DORQ_REG_DB_DROP_REASON,4,2    ## @DORQ_REG_DB_DROP_REASON
	.comm	_QED_DORQ_ATTENTION_REASON_MASK,4,2 ## @QED_DORQ_ATTENTION_REASON_MASK
	.comm	_DORQ_REG_DB_DROP_DETAILS,4,2   ## @DORQ_REG_DB_DROP_DETAILS
	.comm	_DORQ_REG_DB_DROP_DETAILS_ADDRESS,4,2 ## @DORQ_REG_DB_DROP_DETAILS_ADDRESS
	.comm	_DORQ_REG_DB_DROP_DETAILS_REASON,4,2 ## @DORQ_REG_DB_DROP_DETAILS_REASON
L_.str.1:                               ## @.str.1
	.asciz	"Doorbell drop occurred\nAddress\t\t0x%08x\t(second BAR address)\nFID\t\t0x%04x\t\t(Opaque FID)\nSize\t\t0x%04x\t\t(in bytes)\n1st drop reason\t0x%08x\t(details on first drop since last handling)\nSticky reasons\t0x%08x\t(all drop reasons since last handling)\n"

	.comm	_QED_DORQ_ATTENTION_OPAQUE,4,2  ## @QED_DORQ_ATTENTION_OPAQUE
	.comm	_QED_DORQ_ATTENTION_SIZE,4,2    ## @QED_DORQ_ATTENTION_SIZE
	.comm	_DORQ_REG_DB_DROP_DETAILS_REL,4,2 ## @DORQ_REG_DB_DROP_DETAILS_REL
	.comm	_DORQ_REG_INT_STS_WR,4,2        ## @DORQ_REG_INT_STS_WR
L_.str.2:                               ## @.str.2
	.asciz	"DORQ fatal attention\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qed_dorq_attn_int_sts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_dorq_attn_int_sts
_qed_dorq_attn_int_sts:                 ; @qed_dorq_attn_int_sts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _DORQ_REG_INT_STS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DORQ_REG_INT_STS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_qed_rd
Lloh3:
	adrp	x27, _DORQ_REG_INT_STS_DORQ_FIFO_AFULL@GOTPAGE
Lloh4:
	ldr	x27, [x27, _DORQ_REG_INT_STS_DORQ_FIFO_AFULL@GOTPAGEOFF]
	ldr	w8, [x27]
	bics	wzr, w0, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP_NOTICE
Lloh7:
	adrp	x8, _DORQ_REG_INT_STS_DB_DROP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DORQ_REG_INT_STS_DB_DROP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
Lloh13:
	adrp	x8, _DORQ_REG_DB_DROP_REASON@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DORQ_REG_DB_DROP_REASON@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_qed_rd
Lloh16:
	adrp	x8, _QED_DORQ_ATTENTION_REASON_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QED_DORQ_ATTENTION_REASON_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	and	w28, w8, w0
Lloh19:
	adrp	x8, _DORQ_REG_DB_DROP_DETAILS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DORQ_REG_DB_DROP_DETAILS@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_qed_rd
	mov	x22, x0
Lloh22:
	adrp	x8, _DORQ_REG_DB_DROP_DETAILS_ADDRESS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DORQ_REG_DB_DROP_DETAILS_ADDRESS@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_qed_rd
	mov	x23, x0
Lloh25:
	adrp	x8, _DORQ_REG_DB_DROP_DETAILS_REASON@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DORQ_REG_DB_DROP_DETAILS_REASON@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_qed_rd
	mov	x24, x0
	ldr	w25, [x19]
Lloh28:
	adrp	x8, _QED_DORQ_ATTENTION_OPAQUE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _QED_DORQ_ATTENTION_OPAQUE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_GET_FIELD
	mov	x26, x0
Lloh31:
	adrp	x8, _QED_DORQ_ATTENTION_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _QED_DORQ_ATTENTION_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_GET_FIELD
	lsl	w8, w0, #2
	stp	x28, x24, [sp, #16]
	stp	x26, x8, [sp]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x25
	mov	x2, x23
	bl	_DP_NOTICE
Lloh36:
	adrp	x8, _DORQ_REG_DB_DROP_DETAILS_REL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DORQ_REG_DB_DROP_DETAILS_REL@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_qed_wr
Lloh39:
	adrp	x8, _DORQ_REG_INT_STS_WR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DORQ_REG_INT_STS_WR@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x23, _DORQ_REG_INT_STS_DB_DROP@GOTPAGE
Lloh43:
	ldr	x23, [x23, _DORQ_REG_INT_STS_DB_DROP@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh44:
	adrp	x22, _DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPAGE
Lloh45:
	ldr	x22, [x22, _DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x21
	bl	_qed_wr
	ldr	w8, [x23]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w8, w8, w9
	bics	wzr, w20, w8
	b.eq	LBB0_4
LBB0_3:
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh48:
	adrp	x8, _EINVAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_DORQ_REG_INT_STS,4,2           ; @DORQ_REG_INT_STS
	.comm	_DORQ_REG_INT_STS_DORQ_FIFO_AFULL,4,2 ; @DORQ_REG_INT_STS_DORQ_FIFO_AFULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DORQ attention. int_sts was %x\n"

	.comm	_DORQ_REG_INT_STS_DB_DROP,4,2   ; @DORQ_REG_INT_STS_DB_DROP
	.comm	_DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR,4,2 ; @DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR
	.comm	_DORQ_REG_DB_DROP_REASON,4,2    ; @DORQ_REG_DB_DROP_REASON
	.comm	_QED_DORQ_ATTENTION_REASON_MASK,4,2 ; @QED_DORQ_ATTENTION_REASON_MASK
	.comm	_DORQ_REG_DB_DROP_DETAILS,4,2   ; @DORQ_REG_DB_DROP_DETAILS
	.comm	_DORQ_REG_DB_DROP_DETAILS_ADDRESS,4,2 ; @DORQ_REG_DB_DROP_DETAILS_ADDRESS
	.comm	_DORQ_REG_DB_DROP_DETAILS_REASON,4,2 ; @DORQ_REG_DB_DROP_DETAILS_REASON
l_.str.1:                               ; @.str.1
	.asciz	"Doorbell drop occurred\nAddress\t\t0x%08x\t(second BAR address)\nFID\t\t0x%04x\t\t(Opaque FID)\nSize\t\t0x%04x\t\t(in bytes)\n1st drop reason\t0x%08x\t(details on first drop since last handling)\nSticky reasons\t0x%08x\t(all drop reasons since last handling)\n"

	.comm	_QED_DORQ_ATTENTION_OPAQUE,4,2  ; @QED_DORQ_ATTENTION_OPAQUE
	.comm	_QED_DORQ_ATTENTION_SIZE,4,2    ; @QED_DORQ_ATTENTION_SIZE
	.comm	_DORQ_REG_DB_DROP_DETAILS_REL,4,2 ; @DORQ_REG_DB_DROP_DETAILS_REL
	.comm	_DORQ_REG_INT_STS_WR,4,2        ; @DORQ_REG_INT_STS_WR
l_.str.2:                               ; @.str.2
	.asciz	"DORQ fatal attention\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qed_dorq_attn_int_sts
.subsections_via_symbols
