	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qed_ll2_get_stats
___qed_ll2_get_stats:                   ## @__qed_ll2_get_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	_QED_MAX_NUM_OF_LL2_CONNECTIONS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	%rdi, %r13
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%r13, %rdi
	callq	_qed_ptt_acquire
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	shlq	$4, %rbx
	leaq	(%r12,%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r12,%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	__qed_ll2_get_port_stats
LBB0_7:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	__qed_ll2_get_tstats
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	__qed_ll2_get_ustats
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	__qed_ll2_get_pstats
LBB0_9:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_qed_ptt_release
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_DP_ERR
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MAX_NUM_OF_LL2_CONNECTIONS,8,3 ## @QED_MAX_NUM_OF_LL2_CONNECTIONS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to acquire ptt\n"

	.no_dead_strip	___qed_ll2_get_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_get_stats
___qed_ll2_get_stats:                   ; @__qed_ll2_get_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
Lloh0:
	adrp	x8, _QED_MAX_NUM_OF_LL2_CONNECTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MAX_NUM_OF_LL2_CONNECTIONS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_9
; %bb.2:
	mov	x20, x2
	mov	x22, x1
	mov	x0, x19
	bl	_qed_ptt_acquire
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	add	x22, x23, x22, lsl #4
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	__qed_ll2_get_port_stats
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	__qed_ll2_get_tstats
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	__qed_ll2_get_ustats
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	__qed_ll2_get_pstats
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_qed_ptt_release
	mov	w0, #0
	b	LBB0_10
LBB0_8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
LBB0_9:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MAX_NUM_OF_LL2_CONNECTIONS,8,3 ; @QED_MAX_NUM_OF_LL2_CONNECTIONS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to acquire ptt\n"

	.no_dead_strip	___qed_ll2_get_stats
.subsections_via_symbols
