	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_db_rec_handler             ## -- Begin function qed_db_rec_handler
	.p2align	4, 0x90
_qed_db_rec_handler:                    ## @qed_db_rec_handler
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_QED_OVERFLOW_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rsi
	callq	_test_and_clear_bit
	movq	%rax, %r12
	movq	_DORQ_REG_PF_OVFL_STICKY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qed_rd
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	orq	%r12, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_DP_NOTICE
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	cmpl	$0, (%r13)
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qed_db_rec_flush_queue
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movq	_DORQ_REG_PF_OVFL_STICKY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	%r13, %rdi
	callq	_qed_db_recovery_execute
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_OVERFLOW_BIT,4,2           ## @QED_OVERFLOW_BIT
	.comm	_DORQ_REG_PF_OVFL_STICKY,4,2    ## @DORQ_REG_PF_OVFL_STICKY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF Overflow sticky: attn %u current %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_db_rec_handler             ; -- Begin function qed_db_rec_handler
	.p2align	2
_qed_db_rec_handler:                    ; @qed_db_rec_handler
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _QED_OVERFLOW_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_OVERFLOW_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_and_clear_bit
	mov	x21, x0
Lloh3:
	adrp	x23, _DORQ_REG_PF_OVFL_STICKY@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DORQ_REG_PF_OVFL_STICKY@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_qed_rd
	orr	x8, x0, x21
	cbz	x8, LBB0_5
; %bb.1:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_DP_NOTICE
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_qed_db_rec_flush_queue
	cbnz	w0, LBB0_6
LBB0_4:
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_qed_wr
	mov	x0, x19
	bl	_qed_db_recovery_execute
LBB0_5:
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_OVERFLOW_BIT,4,2           ; @QED_OVERFLOW_BIT
	.comm	_DORQ_REG_PF_OVFL_STICKY,4,2    ; @DORQ_REG_PF_OVFL_STICKY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF Overflow sticky: attn %u current %u\n"

.subsections_via_symbols
