	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_grc_attn_cb
_qed_grc_attn_cb:                       ## @qed_grc_attn_cb
	.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, %r13
	movl	(%rdi), %esi
	movq	_GRC_REG_TIMEOUT_ATTN_ACCESS_VALID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_qed_rd
	movq	_QED_GRC_ATTENTION_VALID_BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	(%r13), %esi
	movq	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_qed_rd
	movl	%eax, %r14d
	movl	(%r13), %esi
	movq	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_qed_rd
	movl	%eax, %r15d
	movl	4(%r13), %ebx
	movq	_QED_GRC_ATTENTION_RDWR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_QED_GRC_ATTENTION_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_QED_GRC_ATTENTION_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GET_FIELD
	movl	%eax, %edi
	callq	_attn_master_to_str
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_QED_GRC_ATTENTION_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_QED_GRC_ATTENTION_PRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GET_FIELD
	movq	_QED_GRC_ATTENTION_PRIV_VF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %r12
	cmoveq	%rax, %r12
	movq	_QED_GRC_ATTENTION_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movq	_GRC_REG_TIMEOUT_ATTN_ACCESS_VALID@GOTPCREL(%rip), %rbx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r12
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_DP_INFO
	addq	$32, %rsp
LBB0_2:
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_qed_wr
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_VALID,4,2 ## @GRC_REG_TIMEOUT_ATTN_ACCESS_VALID
	.comm	_QED_GRC_ATTENTION_VALID_BIT,4,2 ## @QED_GRC_ATTENTION_VALID_BIT
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0,4,2 ## @GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1,4,2 ## @GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GRC timeout [%08x:%08x] - %s Address [%08x] [Master %s] [PF: %02x %s %02x]\n"

	.comm	_QED_GRC_ATTENTION_RDWR_BIT,4,2 ## @QED_GRC_ATTENTION_RDWR_BIT
L_.str.1:                               ## @.str.1
	.asciz	"Write to"

L_.str.2:                               ## @.str.2
	.asciz	"Read from"

	.comm	_QED_GRC_ATTENTION_ADDRESS,4,2  ## @QED_GRC_ATTENTION_ADDRESS
	.comm	_QED_GRC_ATTENTION_MASTER,4,2   ## @QED_GRC_ATTENTION_MASTER
	.comm	_QED_GRC_ATTENTION_PF,4,2       ## @QED_GRC_ATTENTION_PF
	.comm	_QED_GRC_ATTENTION_PRIV,4,2     ## @QED_GRC_ATTENTION_PRIV
	.comm	_QED_GRC_ATTENTION_PRIV_VF,4,2  ## @QED_GRC_ATTENTION_PRIV_VF
L_.str.3:                               ## @.str.3
	.asciz	"VF"

L_.str.4:                               ## @.str.4
	.asciz	"(Irrelevant)"

	.comm	_QED_GRC_ATTENTION_VF,4,2       ## @QED_GRC_ATTENTION_VF
	.no_dead_strip	_qed_grc_attn_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_grc_attn_cb
_qed_grc_attn_cb:                       ; @qed_grc_attn_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	w1, [x0]
Lloh0:
	adrp	x27, _GRC_REG_TIMEOUT_ATTN_ACCESS_VALID@GOTPAGE
Lloh1:
	ldr	x27, [x27, _GRC_REG_TIMEOUT_ATTN_ACCESS_VALID@GOTPAGEOFF]
	ldr	w2, [x27]
	bl	_qed_rd
Lloh2:
	adrp	x8, _QED_GRC_ATTENTION_VALID_BIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_GRC_ATTENTION_VALID_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_qed_rd
	mov	x20, x0
	ldr	w1, [x19]
Lloh8:
	adrp	x8, _GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_qed_rd
	mov	x21, x0
	ldr	w22, [x19, #4]
Lloh11:
	adrp	x8, _QED_GRC_ATTENTION_RDWR_BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QED_GRC_ATTENTION_RDWR_BIT@GOTPAGEOFF]
Lloh13:
	adrp	x9, l_.str.1@PAGE
Lloh14:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh15:
	adrp	x10, l_.str.2@PAGE
Lloh16:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	csel	x23, x10, x9, eq
Lloh18:
	adrp	x8, _QED_GRC_ATTENTION_ADDRESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QED_GRC_ATTENTION_ADDRESS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GET_FIELD
	lsl	w24, w0, #2
Lloh21:
	adrp	x8, _QED_GRC_ATTENTION_MASTER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QED_GRC_ATTENTION_MASTER@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GET_FIELD
	bl	_attn_master_to_str
	mov	x25, x0
Lloh24:
	adrp	x8, _QED_GRC_ATTENTION_PF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QED_GRC_ATTENTION_PF@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GET_FIELD
	mov	x26, x0
Lloh27:
	adrp	x8, _QED_GRC_ATTENTION_PRIV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QED_GRC_ATTENTION_PRIV@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GET_FIELD
Lloh30:
	adrp	x8, _QED_GRC_ATTENTION_PRIV_VF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _QED_GRC_ATTENTION_PRIV_VF@GOTPAGEOFF]
Lloh32:
	adrp	x9, l_.str.4@PAGE
Lloh33:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh34:
	adrp	x10, l_.str.3@PAGE
Lloh35:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh36:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	x28, x10, x9, eq
Lloh37:
	adrp	x8, _QED_GRC_ATTENTION_VF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _QED_GRC_ATTENTION_VF@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GET_FIELD
	str	w0, [sp, #8]
	str	x28, [sp]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x26
	bl	_DP_INFO
LBB0_2:
	ldr	w1, [x19]
	ldr	w2, [x27]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_wr
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh36
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh17
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_VALID,4,2 ; @GRC_REG_TIMEOUT_ATTN_ACCESS_VALID
	.comm	_QED_GRC_ATTENTION_VALID_BIT,4,2 ; @QED_GRC_ATTENTION_VALID_BIT
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0,4,2 ; @GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0
	.comm	_GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1,4,2 ; @GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GRC timeout [%08x:%08x] - %s Address [%08x] [Master %s] [PF: %02x %s %02x]\n"

	.comm	_QED_GRC_ATTENTION_RDWR_BIT,4,2 ; @QED_GRC_ATTENTION_RDWR_BIT
l_.str.1:                               ; @.str.1
	.asciz	"Write to"

l_.str.2:                               ; @.str.2
	.asciz	"Read from"

	.comm	_QED_GRC_ATTENTION_ADDRESS,4,2  ; @QED_GRC_ATTENTION_ADDRESS
	.comm	_QED_GRC_ATTENTION_MASTER,4,2   ; @QED_GRC_ATTENTION_MASTER
	.comm	_QED_GRC_ATTENTION_PF,4,2       ; @QED_GRC_ATTENTION_PF
	.comm	_QED_GRC_ATTENTION_PRIV,4,2     ; @QED_GRC_ATTENTION_PRIV
	.comm	_QED_GRC_ATTENTION_PRIV_VF,4,2  ; @QED_GRC_ATTENTION_PRIV_VF
l_.str.3:                               ; @.str.3
	.asciz	"VF"

l_.str.4:                               ; @.str.4
	.asciz	"(Irrelevant)"

	.comm	_QED_GRC_ATTENTION_VF,4,2       ; @QED_GRC_ATTENTION_VF
	.no_dead_strip	_qed_grc_attn_cb
.subsections_via_symbols
