	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_vsi_stats_init           ## -- Begin function i40iw_vsi_stats_init
	.p2align	4, 0x90
_i40iw_vsi_stats_init:                  ## @i40iw_vsi_stats_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 8(%rsi)
	je	LBB0_1
## %bb.2:
	movq	24(%rbx), %rdi
	callq	_i40iw_get_fcn_id
	movq	%rax, %r15
	jmp	LBB0_3
LBB0_1:
	movq	(%r14), %r15
LBB0_3:
	movq	_I40IW_INVALID_FCN_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_5
## %bb.4:
	movq	_I40IW_ERR_NOT_READY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	24(%r14), %rdi
	movq	%rdi, 16(%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	%rbx, 8(%rdi)
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_i40iw_hw_stats_init
	movq	16(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_i40iw_hw_stats_start_timer
LBB0_7:
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, (%rbx)
	movq	_I40IW_SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_INVALID_FCN_ID,8,3       ## @I40IW_INVALID_FCN_ID
	.comm	_I40IW_ERR_NOT_READY,4,2        ## @I40IW_ERR_NOT_READY
	.comm	_I40IW_SUCCESS,4,2              ## @I40IW_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_vsi_stats_init           ; -- Begin function i40iw_vsi_stats_init
	.p2align	2
_i40iw_vsi_stats_init:                  ; @i40iw_vsi_stats_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19, #24]
	bl	_i40iw_get_fcn_id
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	ldr	x21, [x20]
LBB0_3:
Lloh0:
	adrp	x8, _I40IW_INVALID_FCN_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_INVALID_FCN_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _I40IW_ERR_NOT_READY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40IW_ERR_NOT_READY@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldp	x8, x0, [x20, #16]
	str	x0, [x19, #16]
	ldr	x9, [x19, #24]
	ldr	w9, [x9]
	str	w9, [x0, #16]
	str	x19, [x0, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x1, x21
	mov	w2, #1
	bl	_i40iw_hw_stats_init
	ldr	x0, [x19, #16]
	bl	_spin_lock_init
	mov	x0, x19
	bl	_i40iw_hw_stats_start_timer
LBB0_7:
	ldr	x8, [x20, #8]
	stp	x21, x8, [x19]
Lloh5:
	adrp	x8, _I40IW_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40IW_SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_INVALID_FCN_ID,8,3       ; @I40IW_INVALID_FCN_ID
	.comm	_I40IW_ERR_NOT_READY,4,2        ; @I40IW_ERR_NOT_READY
	.comm	_I40IW_SUCCESS,4,2              ; @I40IW_SUCCESS
.subsections_via_symbols
