	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_idle_chk_dump          ## -- Begin function qed_dbg_idle_chk_dump
	.p2align	4, 0x90
_qed_dbg_idle_chk_dump:                 ## @qed_dbg_idle_chk_dump
	.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	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	$0, (%r8)
	leaq	-48(%rbp), %rdx
	callq	_qed_dbg_idle_chk_get_dump_buf_size
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	cmpq	%r13, -48(%rbp)
	jle	LBB0_3
## %bb.2:
	movq	_DBG_STATUS_DUMP_BUF_TOO_SMALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rcx, %r13
	callq	_qed_update_blocks_reset_state
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_qed_idle_chk_dump
	movq	%rax, (%r14)
	movq	%r12, %rdi
	callq	_qed_dbg_grc_set_params_default
	movl	(%r13), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_STATUS_OK,4,2              ## @DBG_STATUS_OK
	.comm	_DBG_STATUS_DUMP_BUF_TOO_SMALL,4,2 ## @DBG_STATUS_DUMP_BUF_TOO_SMALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_idle_chk_dump          ; -- Begin function qed_dbg_idle_chk_dump
	.p2align	2
_qed_dbg_idle_chk_dump:                 ; @qed_dbg_idle_chk_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [x4]
	add	x2, sp, #8
	bl	_qed_dbg_idle_chk_get_dump_buf_size
Lloh0:
	adrp	x24, _DBG_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DBG_STATUS_OK@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, x23
	b.le	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _DBG_STATUS_DUMP_BUF_TOO_SMALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DBG_STATUS_DUMP_BUF_TOO_SMALL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	bl	_qed_update_blocks_reset_state
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_qed_idle_chk_dump
	str	x0, [x19]
	mov	x0, x20
	bl	_qed_dbg_grc_set_params_default
	ldr	w0, [x24]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_STATUS_OK,4,2              ; @DBG_STATUS_OK
	.comm	_DBG_STATUS_DUMP_BUF_TOO_SMALL,4,2 ; @DBG_STATUS_DUMP_BUF_TOO_SMALL
.subsections_via_symbols
