	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_idle_chk_get_dump_buf_size ## -- Begin function qed_dbg_idle_chk_get_dump_buf_size
	.p2align	4, 0x90
_qed_dbg_idle_chk_get_dump_buf_size:    ## @qed_dbg_idle_chk_get_dump_buf_size
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, (%rdx)
	callq	_qed_dbg_dev_init
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_10
## %bb.1:
	movq	_s_dbg_arrays@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BIN_BUF_DBG_MODE_TREE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_5
## %bb.2:
	movq	_BIN_BUF_DBG_IDLE_CHK_REGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_5
## %bb.3:
	movq	_BIN_BUF_DBG_IDLE_CHK_IMMS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_5
## %bb.4:
	movq	_BIN_BUF_DBG_IDLE_CHK_RULES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_5
## %bb.6:
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.7:
	movl	4(%r15), %eax
	jmp	LBB0_9
LBB0_5:
	movq	_DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_qed_idle_chk_dump
	movl	%eax, 4(%r15)
	movl	$1, (%r15)
LBB0_9:
	movl	%eax, (%r14)
	movl	(%r12), %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_STATUS_OK,4,2              ## @DBG_STATUS_OK
	.comm	_s_dbg_arrays,8,3               ## @s_dbg_arrays
	.comm	_BIN_BUF_DBG_MODE_TREE,8,3      ## @BIN_BUF_DBG_MODE_TREE
	.comm	_BIN_BUF_DBG_IDLE_CHK_REGS,8,3  ## @BIN_BUF_DBG_IDLE_CHK_REGS
	.comm	_BIN_BUF_DBG_IDLE_CHK_IMMS,8,3  ## @BIN_BUF_DBG_IDLE_CHK_IMMS
	.comm	_BIN_BUF_DBG_IDLE_CHK_RULES,8,3 ## @BIN_BUF_DBG_IDLE_CHK_RULES
	.comm	_DBG_STATUS_DBG_ARRAY_NOT_SET,4,2 ## @DBG_STATUS_DBG_ARRAY_NOT_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_idle_chk_get_dump_buf_size ; -- Begin function qed_dbg_idle_chk_get_dump_buf_size
	.p2align	2
_qed_dbg_idle_chk_get_dump_buf_size:    ; @qed_dbg_idle_chk_get_dump_buf_size
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	wzr, [x2]
	bl	_qed_dbg_dev_init
Lloh0:
	adrp	x22, _DBG_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DBG_STATUS_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.1:
Lloh2:
	adrp	x8, _s_dbg_arrays@GOTPAGE
Lloh3:
	ldr	x8, [x8, _s_dbg_arrays@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _BIN_BUF_DBG_MODE_TREE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BIN_BUF_DBG_MODE_TREE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.2:
Lloh8:
	adrp	x9, _BIN_BUF_DBG_IDLE_CHK_REGS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BIN_BUF_DBG_IDLE_CHK_REGS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.3:
Lloh11:
	adrp	x9, _BIN_BUF_DBG_IDLE_CHK_IMMS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BIN_BUF_DBG_IDLE_CHK_IMMS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.4:
Lloh14:
	adrp	x9, _BIN_BUF_DBG_IDLE_CHK_RULES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BIN_BUF_DBG_IDLE_CHK_RULES@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.6:
	ldr	w0, [x20, #4]
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x8, _DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	mov	w3, #0
	bl	_qed_idle_chk_dump
	mov	w8, #1
	stp	w8, w0, [x20]
LBB0_10:
	str	w0, [x19]
	ldr	w0, [x22]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_STATUS_OK,4,2              ; @DBG_STATUS_OK
	.comm	_s_dbg_arrays,8,3               ; @s_dbg_arrays
	.comm	_BIN_BUF_DBG_MODE_TREE,8,3      ; @BIN_BUF_DBG_MODE_TREE
	.comm	_BIN_BUF_DBG_IDLE_CHK_REGS,8,3  ; @BIN_BUF_DBG_IDLE_CHK_REGS
	.comm	_BIN_BUF_DBG_IDLE_CHK_IMMS,8,3  ; @BIN_BUF_DBG_IDLE_CHK_IMMS
	.comm	_BIN_BUF_DBG_IDLE_CHK_RULES,8,3 ; @BIN_BUF_DBG_IDLE_CHK_RULES
	.comm	_DBG_STATUS_DBG_ARRAY_NOT_SET,4,2 ; @DBG_STATUS_DBG_ARRAY_NOT_SET
.subsections_via_symbols
