	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_cfa_flow_stats_get
_bnxt_hwrm_cfa_flow_stats_get:          ## @bnxt_hwrm_cfa_flow_stats_get
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_HWRM_CFA_FLOW_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movl	%eax, -64(%rbp)
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	leaq	-60(%rbp), %rcx
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15,%rbx), %rsi
	leaq	4(%rcx), %r13
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_bnxt_fill_cfa_stats_req
	addq	$24, %rbx
	movq	%r13, %rcx
	cmpq	%rbx, %r12
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	__hwrm_send_message
	testl	%eax, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.7:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_info
	jmp	LBB0_8
LBB0_4:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_bnxt_get_hwrm_resp_addr
	movq	%rax, %r13
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:
	movl	%eax, %ebx
	addq	$8, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13,%r12,4), %edi
	callq	_le64_to_cpu
	movq	%rax, (%r15)
	movl	(%r13,%r12,4), %edi
	callq	_le64_to_cpu
	movq	%rax, -8(%r15)
	incq	%r12
	addq	$24, %r15
	cmpq	%r12, %rbx
	jne	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_CFA_FLOW_STATS,4,2        ## @HWRM_CFA_FLOW_STATS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error rc=%d"

	.no_dead_strip	_bnxt_hwrm_cfa_flow_stats_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_cfa_flow_stats_get
_bnxt_hwrm_cfa_flow_stats_get:          ; @bnxt_hwrm_cfa_flow_stats_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _HWRM_CFA_FLOW_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_CFA_FLOW_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x22, sp
	mov	x1, sp
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	mov	x0, x21
	bl	_cpu_to_le16
	str	w0, [sp]
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, w21
	orr	x3, x22, #0x4
	add	x24, x20, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24], #24
	add	x22, x3, #4
	mov	x0, x19
	mov	x2, x22
	bl	_bnxt_fill_cfa_stats_req
	mov	x3, x22
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_mutex_lock
Lloh3:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #16
	bl	__hwrm_send_message
	mov	x22, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_netdev_info
	b	LBB0_8
LBB0_5:
	mov	x1, sp
	mov	x0, x19
	bl	_bnxt_get_hwrm_resp_addr
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w21, w21
	add	x23, x0, #4
	add	x20, x20, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_le64_to_cpu
	str	x0, [x20]
	ldur	w0, [x23, #-4]
	bl	_le64_to_cpu
	stur	x0, [x20, #-8]
	add	x23, x23, #4
	add	x20, x20, #24
	subs	x21, x21, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_CFA_FLOW_STATS,4,2        ; @HWRM_CFA_FLOW_STATS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error rc=%d"

	.no_dead_strip	_bnxt_hwrm_cfa_flow_stats_get
.subsections_via_symbols
