	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_all_data_size          ## -- Begin function qed_dbg_all_data_size
	.p2align	4, 0x90
_qed_dbg_all_data_size:                 ## @qed_dbg_all_data_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	%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, %r15
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	callq	_qed_get_debug_engine
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_QED_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	callq	_DP_VERBOSE
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_qed_set_debug_engine
	movq	_REGDUMP_HEADER_SIZE@GOTPCREL(%rip), %r12
	addl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_qed_dbg_idle_chk_size
	movl	%eax, %r14d
	addl	%ebx, %r14d
	addl	(%r12), %r14d
	movq	%r15, %rdi
	callq	_qed_dbg_idle_chk_size
	movl	%eax, %ebx
	addl	%r14d, %ebx
	addl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_qed_dbg_grc_size
	movl	%eax, %r14d
	addl	%ebx, %r14d
	addl	(%r12), %r14d
	movq	%r15, %rdi
	callq	_qed_dbg_reg_fifo_size
	movl	%eax, %ebx
	addl	%r14d, %ebx
	addl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_qed_dbg_igu_fifo_size
	movl	%eax, %r14d
	addl	%ebx, %r14d
	addl	(%r12), %r14d
	movq	%r12, %rbx
	movq	%r15, %rdi
	callq	_qed_dbg_protection_override_size
	movl	%eax, %r12d
	addl	%r14d, %r12d
	addl	(%rbx), %r12d
	movq	%r15, %rdi
	callq	_qed_dbg_fw_asserts_size
	movl	%eax, %ebx
	addl	%r12d, %ebx
	incq	%r13
	cmpq	(%r15), %r13
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_qed_set_debug_engine
	movq	_REGDUMP_HEADER_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_qed_dbg_mcp_trace_size
	movl	%eax, %r14d
	movq	_QED_NVM_IMAGE_NVM_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_qed_dbg_nvm_image_length
	movl	-44(%rbp), %eax
	movl	(%r13), %r13d
	addl	%eax, %r13d
	testl	%eax, %eax
	cmovel	%eax, %r13d
	movq	_QED_NVM_IMAGE_DEFAULT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_qed_dbg_nvm_image_length
	movl	-44(%rbp), %eax
	movq	_REGDUMP_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	addl	%eax, %r15d
	testl	%eax, %eax
	cmovel	%eax, %r15d
	movq	_QED_NVM_IMAGE_NVM_META@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	-44(%rbp), %rdx
	callq	_qed_dbg_nvm_image_length
	movl	-44(%rbp), %eax
	movq	_REGDUMP_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	testl	%eax, %eax
	cmovel	%eax, %ecx
	addl	%ebx, %r14d
	addl	%r13d, %r14d
	addl	%r15d, %r14d
	addl	%ecx, %r14d
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MSG_DEBUG,4,2              ## @QED_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calculating idle_chk and grcdump register length for current engine\n"

	.comm	_REGDUMP_HEADER_SIZE,4,2        ## @REGDUMP_HEADER_SIZE
	.comm	_QED_NVM_IMAGE_NVM_CFG1,4,2     ## @QED_NVM_IMAGE_NVM_CFG1
	.comm	_QED_NVM_IMAGE_DEFAULT_CFG,4,2  ## @QED_NVM_IMAGE_DEFAULT_CFG
	.comm	_QED_NVM_IMAGE_NVM_META,4,2     ## @QED_NVM_IMAGE_NVM_META
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_all_data_size          ; -- Begin function qed_dbg_all_data_size
	.p2align	2
_qed_dbg_all_data_size:                 ; @qed_dbg_all_data_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x9, [x0, #16]
	ldr	x8, [x0, #8]
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	str	wzr, [sp, #60]
	bl	_qed_get_debug_engine
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x19]
Lloh0:
	adrp	x24, _REGDUMP_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _REGDUMP_HEADER_SIZE@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w25, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh2:
	adrp	x8, _QED_MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
	mov	x0, x19
	mov	x1, x21
	bl	_qed_set_debug_engine
	ldr	w8, [x24]
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_qed_dbg_idle_chk_size
	ldr	w8, [x24]
	stp	w8, w0, [sp, #48]               ; 8-byte Folded Spill
	mov	x0, x19
	bl	_qed_dbg_idle_chk_size
	ldr	w8, [x24]
	stp	w8, w0, [sp, #40]               ; 8-byte Folded Spill
	mov	x0, x19
	bl	_qed_dbg_grc_size
	ldr	w8, [x24]
	stp	w8, w0, [sp, #32]               ; 8-byte Folded Spill
	mov	x0, x19
	bl	_qed_dbg_reg_fifo_size
	mov	x26, x0
	ldr	w23, [x24]
	mov	x0, x19
	bl	_qed_dbg_igu_fifo_size
	mov	x27, x0
	ldr	w20, [x24]
	mov	x0, x19
	bl	_qed_dbg_protection_override_size
	mov	x28, x0
	ldr	w22, [x24]
	mov	x0, x19
	bl	_qed_dbg_fw_asserts_size
	ldp	w9, w8, [sp, #52]               ; 8-byte Folded Reload
	add	w8, w8, w25
	add	w8, w8, w9
	ldr	w9, [sp, #48]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	add	w8, w8, w26
	add	w8, w8, w23
	add	w8, w8, w27
	add	w8, w8, w20
	add	w8, w8, w28
	add	w8, w8, w22
	add	w25, w8, w0
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w25, #0
LBB0_4:
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	add	x21, x8, x9, lsl #2
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_qed_set_debug_engine
	ldr	w20, [x24]
	mov	x0, x19
	bl	_qed_dbg_mcp_trace_size
	mov	x19, x0
Lloh7:
	adrp	x8, _QED_NVM_IMAGE_NVM_CFG1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QED_NVM_IMAGE_NVM_CFG1@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #60
	mov	x0, x21
	bl	_qed_dbg_nvm_image_length
	ldr	w8, [sp, #60]
	ldr	w9, [x24]
	add	w9, w9, w8
	cmp	w8, #0
	csel	w22, wzr, w9, eq
Lloh10:
	adrp	x8, _QED_NVM_IMAGE_DEFAULT_CFG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QED_NVM_IMAGE_DEFAULT_CFG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #60
	mov	x0, x21
	bl	_qed_dbg_nvm_image_length
	ldr	w8, [sp, #60]
	ldr	w9, [x24]
	add	w9, w9, w8
	cmp	w8, #0
	csel	w23, wzr, w9, eq
Lloh13:
	adrp	x8, _QED_NVM_IMAGE_NVM_META@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QED_NVM_IMAGE_NVM_META@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #60
	mov	x0, x21
	bl	_qed_dbg_nvm_image_length
	ldr	w8, [sp, #60]
	ldr	w9, [x24]
	add	w9, w9, w8
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	add	w9, w20, w25
	add	w9, w9, w19
	add	w9, w9, w22
	add	w9, w9, w23
	add	w0, w9, w8
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_DEBUG,4,2              ; @QED_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calculating idle_chk and grcdump register length for current engine\n"

	.comm	_REGDUMP_HEADER_SIZE,4,2        ; @REGDUMP_HEADER_SIZE
	.comm	_QED_NVM_IMAGE_NVM_CFG1,4,2     ; @QED_NVM_IMAGE_NVM_CFG1
	.comm	_QED_NVM_IMAGE_DEFAULT_CFG,4,2  ; @QED_NVM_IMAGE_DEFAULT_CFG
	.comm	_QED_NVM_IMAGE_NVM_META,4,2     ; @QED_NVM_IMAGE_NVM_META
.subsections_via_symbols
