	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_dbg_dump
_qed_dbg_dump:                          ## @qed_dbg_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	movq	(%rdi), %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	_qed_features_lookup@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%r14,2), %r13
	movl	16(%rax,%r13,8), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DP_NOTICE
	shlq	$4, %r14
	leaq	(%rbx,%r14), %r15
	addq	$8, %r15
	movq	8(%rbx,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_vfree
	movq	$0, (%r15)
LBB0_2:
	movq	_qed_features_lookup@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*(%rax,%r13,8)
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %rcx
	movq	_DBG_STATUS_NVRAM_GET_IMAGE_FAILED@GOTPCREL(%rip), %rdx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	cmpl	(%rdx), %eax
	jne	LBB0_9
LBB0_4:
	movl	-48(%rbp), %edi
	shll	$2, %edi
	movl	%edi, (%rbx,%r14)
	callq	_vmalloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	(%rbx,%r14), %rcx
	movq	_qed_features_lookup@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	movl	(%rcx), %ecx
	sarl	$2, %ecx
	leaq	(%rbx,%r14), %r8
	addq	$4, %r8
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	*8(%r9,%r13,8)
	movl	%eax, %ecx
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DBG_STATUS_NVRAM_GET_IMAGE_FAILED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_9
## %bb.7:
	cmpl	%eax, %ecx
	movl	%ecx, %eax
	jne	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_format_feature
	jmp	LBB0_9
LBB0_5:
	movq	_DBG_STATUS_VIRT_MEM_ALLOC_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Collecting a debug feature [\"%s\"]\n"

	.comm	_qed_features_lookup,8,3        ## @qed_features_lookup
	.comm	_DBG_STATUS_OK,4,2              ## @DBG_STATUS_OK
	.comm	_DBG_STATUS_NVRAM_GET_IMAGE_FAILED,4,2 ## @DBG_STATUS_NVRAM_GET_IMAGE_FAILED
	.comm	_DBG_STATUS_VIRT_MEM_ALLOC_FAILED,4,2 ## @DBG_STATUS_VIRT_MEM_ALLOC_FAILED
	.no_dead_strip	_qed_dbg_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_dbg_dump
_qed_dbg_dump:                          ; @qed_dbg_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0]
	ldr	x24, [x0]
	mov	w22, w2
Lloh0:
	adrp	x23, _qed_features_lookup@GOTPAGE
Lloh1:
	ldr	x23, [x23, _qed_features_lookup@GOTPAGEOFF]
	ldr	x8, [x23]
	mov	w9, #24
	umaddl	x8, w2, w9, x8
	ldr	w2, [x8, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP_NOTICE
	add	x25, x24, w19, uxtw #4
	ldr	x0, [x25, #8]!
	cbz	x0, LBB0_2
; %bb.1:
	bl	_vfree
	str	xzr, [x25]
LBB0_2:
	ldr	x8, [x23]
	mov	w9, #24
	mul	x9, x22, x9
	ldr	x8, [x8, x9]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	blr	x8
Lloh4:
	adrp	x26, _DBG_STATUS_OK@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DBG_STATUS_OK@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh6:
	adrp	x27, _DBG_STATUS_NVRAM_GET_IMAGE_FAILED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _DBG_STATUS_NVRAM_GET_IMAGE_FAILED@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_8
; %bb.3:
	ldr	w8, [sp, #12]
	lsl	w0, w8, #2
	add	x24, x24, x22, lsl #4
	str	w0, [x24]
	bl	_vmalloc
	str	x0, [x25]
	cbz	x0, LBB0_7
; %bb.4:
	mov	x2, x0
	ldr	x8, [x23]
	mov	w9, #24
	madd	x8, x22, x9, x8
	ldr	x8, [x8, #8]
	ldr	w9, [x24]
	asr	w3, w9, #2
	add	x4, x24, #4
	mov	x0, x20
	mov	x1, x21
	blr	x8
	mov	x8, x0
	ldr	w9, [x27]
	ldr	w0, [x26]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, w0
	mov	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_format_feature
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _DBG_STATUS_VIRT_MEM_ALLOC_FAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DBG_STATUS_VIRT_MEM_ALLOC_FAILED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Collecting a debug feature [\"%s\"]\n"

	.comm	_qed_features_lookup,8,3        ; @qed_features_lookup
	.comm	_DBG_STATUS_OK,4,2              ; @DBG_STATUS_OK
	.comm	_DBG_STATUS_NVRAM_GET_IMAGE_FAILED,4,2 ; @DBG_STATUS_NVRAM_GET_IMAGE_FAILED
	.comm	_DBG_STATUS_VIRT_MEM_ALLOC_FAILED,4,2 ; @DBG_STATUS_VIRT_MEM_ALLOC_FAILED
	.no_dead_strip	_qed_dbg_dump
.subsections_via_symbols
