	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_grc_get_dump_buf_size  ## -- Begin function qed_dbg_grc_get_dump_buf_size
	.p2align	4, 0x90
_qed_dbg_grc_get_dump_buf_size:         ## @qed_dbg_grc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_qed_dbg_dev_init
	movq	$0, (%r14)
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %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_6
## %bb.2:
	movq	_BIN_BUF_DBG_DUMP_REG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_6
## %bb.3:
	movq	_BIN_BUF_DBG_DUMP_MEM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_6
## %bb.4:
	movq	_BIN_BUF_DBG_ATTN_BLOCKS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_6
## %bb.5:
	movq	_BIN_BUF_DBG_ATTN_REGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_grc_dump                   ## TAILCALL
LBB0_6:
	movq	_DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_DUMP_REG,8,3       ## @BIN_BUF_DBG_DUMP_REG
	.comm	_BIN_BUF_DBG_DUMP_MEM,8,3       ## @BIN_BUF_DBG_DUMP_MEM
	.comm	_BIN_BUF_DBG_ATTN_BLOCKS,8,3    ## @BIN_BUF_DBG_ATTN_BLOCKS
	.comm	_BIN_BUF_DBG_ATTN_REGS,8,3      ## @BIN_BUF_DBG_ATTN_REGS
	.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_grc_get_dump_buf_size  ; -- Begin function qed_dbg_grc_get_dump_buf_size
	.p2align	2
_qed_dbg_grc_get_dump_buf_size:         ; @qed_dbg_grc_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	x20, x1
	mov	x21, x0
	bl	_qed_dbg_dev_init
	str	xzr, [x19]
Lloh0:
	adrp	x8, _DBG_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _s_dbg_arrays@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_dbg_arrays@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _BIN_BUF_DBG_MODE_TREE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BIN_BUF_DBG_MODE_TREE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.2:
Lloh9:
	adrp	x9, _BIN_BUF_DBG_DUMP_REG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BIN_BUF_DBG_DUMP_REG@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.3:
Lloh12:
	adrp	x9, _BIN_BUF_DBG_DUMP_MEM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BIN_BUF_DBG_DUMP_MEM@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.4:
Lloh15:
	adrp	x9, _BIN_BUF_DBG_ATTN_BLOCKS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BIN_BUF_DBG_ATTN_BLOCKS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_7
; %bb.5:
Lloh18:
	adrp	x9, _BIN_BUF_DBG_ATTN_REGS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BIN_BUF_DBG_ATTN_REGS@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	mov	x4, x19
	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
	b	_qed_grc_dump
LBB0_7:
Lloh21:
	adrp	x8, _DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DBG_STATUS_DBG_ARRAY_NOT_SET@GOTPAGEOFF]
Lloh23:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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_DUMP_REG,8,3       ; @BIN_BUF_DBG_DUMP_REG
	.comm	_BIN_BUF_DBG_DUMP_MEM,8,3       ; @BIN_BUF_DBG_DUMP_MEM
	.comm	_BIN_BUF_DBG_ATTN_BLOCKS,8,3    ; @BIN_BUF_DBG_ATTN_BLOCKS
	.comm	_BIN_BUF_DBG_ATTN_REGS,8,3      ; @BIN_BUF_DBG_ATTN_REGS
	.comm	_DBG_STATUS_DBG_ARRAY_NOT_SET,4,2 ; @DBG_STATUS_DBG_ARRAY_NOT_SET
.subsections_via_symbols
