	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ll2_stats
_qed_ll2_stats:                         ## @qed_ll2_stats
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_qed_ll2_is_storage_eng1
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_QED_AFFIN_HWFN
	movq	%rax, %r13
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_qed_ll2_get_stats
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_DP_NOTICE
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movq	(%rbx), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	___qed_ll2_get_stats
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_DP_NOTICE
	movl	%r15d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get LL2 stats\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get LL2 stats on engine 0\n"

	.no_dead_strip	_qed_ll2_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ll2_stats
_qed_ll2_stats:                         ; @qed_ll2_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_qed_ll2_is_storage_eng1
	mov	x22, x0
	mov	x0, x19
	bl	_QED_AFFIN_HWFN
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x23, x0
	ldr	w1, [x8]
	mov	x2, x20
	bl	_qed_ll2_get_stats
	cbz	w0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
LBB0_3:
	bl	_DP_NOTICE
	b	LBB0_9
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_5:
	cbz	w22, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_QED_LEADING_HWFN
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x2, x20
	bl	___qed_ll2_get_stats
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_QED_LEADING_HWFN
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get LL2 stats\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get LL2 stats on engine 0\n"

	.no_dead_strip	_qed_ll2_stats
.subsections_via_symbols
