	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_bfi_stats_get_rsp
_bna_bfi_stats_get_rsp:                 ## @bna_bfi_stats_get_rsp
	.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	%rdi, %r13
	movl	36(%rdi), %edi
	callq	_ntohl
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	32(%r13), %edi
	callq	_ntohl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_bna_stats_copy
	movq	_bpc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_bna_stats_copy
	movq	_rad@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%edi, %esi
	callq	_bna_stats_copy
	movq	_rlb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_bna_stats_copy
	movq	_fc_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_bna_stats_copy
	movq	_fc_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_bna_stats_copy
	movq	_BFI_ENET_CFG_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	movq	16(%r13), %rax
	movq	(%rax), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_BFI_ENET_CFG_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r15
	leaq	(%r15,%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_be64_to_cpu
	movl	%eax, (%r15,%rbx,4)
	addq	$4, %r12
	jmp	LBB0_4
LBB0_5:
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	_BFI_ENET_CFG_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r15
	leaq	(%r15,%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	callq	_be64_to_cpu
	movl	%eax, (%r15,%rbx,4)
	addq	$4, %r12
	jmp	LBB0_9
LBB0_10:
	movl	$0, 28(%r13)
	movl	24(%r13), %edi
	movq	_BNA_CB_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnad_cb_stats_get              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mac,4,2                        ## @mac
	.comm	_bpc,4,2                        ## @bpc
	.comm	_rad,4,2                        ## @rad
	.comm	_rlb,4,2                        ## @rlb
	.comm	_fc_rx,4,2                      ## @fc_rx
	.comm	_fc_tx,4,2                      ## @fc_tx
	.comm	_BFI_ENET_CFG_MAX,4,2           ## @BFI_ENET_CFG_MAX
	.comm	_BNA_CB_SUCCESS,4,2             ## @BNA_CB_SUCCESS
	.no_dead_strip	_bna_bfi_stats_get_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_bfi_stats_get_rsp
_bna_bfi_stats_get_rsp:                 ; @bna_bfi_stats_get_rsp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0, #36]
	bl	_ntohl
	mov	x20, x0
	ldr	w0, [x19, #32]
	bl	_ntohl
	mov	x21, x0
Lloh0:
	adrp	x8, _mac@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mac@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x0
	bl	_bna_stats_copy
Lloh3:
	adrp	x8, _bpc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bpc@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x0
	bl	_bna_stats_copy
Lloh6:
	adrp	x22, _rad@GOTPAGE
Lloh7:
	ldr	x22, [x22, _rad@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x0
	bl	_bna_stats_copy
Lloh8:
	adrp	x8, _rlb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rlb@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_bna_stats_copy
Lloh11:
	adrp	x8, _fc_rx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fc_rx@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x0
	bl	_bna_stats_copy
Lloh14:
	adrp	x8, _fc_tx@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fc_tx@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x0
	bl	_bna_stats_copy
Lloh17:
	adrp	x22, _BFI_ENET_CFG_MAX@GOTPAGE
Lloh18:
	ldr	x22, [x22, _BFI_ENET_CFG_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	ldr	x8, [x19, #16]
	ldr	x23, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x24, x24, #4
	cmp	x25, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19, #8]
	add	x0, x26, x24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	lsr	w8, w21, w25
	tbz	w8, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23], #4
	bl	_be64_to_cpu
	str	w0, [x26, x25, lsl #2]
	b	LBB0_2
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x21, #0
	mov	x24, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x21, x21, #4
	cmp	x24, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19]
	add	x0, x25, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	lsr	w8, w20, w24
	tbz	w8, #0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x23], #4
	bl	_be64_to_cpu
	str	w0, [x25, x24, lsl #2]
	b	LBB0_7
LBB0_10:
	str	wzr, [x19, #28]
	ldr	w0, [x19, #24]
Lloh19:
	adrp	x8, _BNA_CB_SUCCESS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BNA_CB_SUCCESS@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x2, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bnad_cb_stats_get
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_mac,4,2                        ; @mac
	.comm	_bpc,4,2                        ; @bpc
	.comm	_rad,4,2                        ; @rad
	.comm	_rlb,4,2                        ; @rlb
	.comm	_fc_rx,4,2                      ; @fc_rx
	.comm	_fc_tx,4,2                      ; @fc_tx
	.comm	_BFI_ENET_CFG_MAX,4,2           ; @BFI_ENET_CFG_MAX
	.comm	_BNA_CB_SUCCESS,4,2             ; @BNA_CB_SUCCESS
	.no_dead_strip	_bna_bfi_stats_get_rsp
.subsections_via_symbols
