	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_alloc_hw_stats
_i40iw_alloc_hw_stats:                  ## @i40iw_alloc_hw_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
	callq	_to_iwdev
	movq	%rax, %r14
	movq	_I40IW_HW_STAT_INDEX_MAX_32@GOTPCREL(%rip), %r15
	movq	_I40IW_HW_STAT_INDEX_MAX_64@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	_RDMA_HW_STATS_DEFAULT_LIFESPAN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_i40iw_hw_stat_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	(%r15), %ebx
	callq	_ARRAY_SIZE
	movl	(%r12), %ecx
	addl	(%r15), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setne	%dil
	callq	_BUILD_BUG_ON
	cmpl	$0, (%r14)
	movl	$1000, %edx                     ## imm = 0x3E8
	cmovneq	%r13, %rdx
	movq	_i40iw_hw_stat_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_alloc_hw_stats_struct     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_HW_STAT_INDEX_MAX_32,4,2 ## @I40IW_HW_STAT_INDEX_MAX_32
	.comm	_I40IW_HW_STAT_INDEX_MAX_64,4,2 ## @I40IW_HW_STAT_INDEX_MAX_64
	.comm	_RDMA_HW_STATS_DEFAULT_LIFESPAN,8,3 ## @RDMA_HW_STATS_DEFAULT_LIFESPAN
	.comm	_i40iw_hw_stat_names,4,2        ## @i40iw_hw_stat_names
	.no_dead_strip	_i40iw_alloc_hw_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_alloc_hw_stats
_i40iw_alloc_hw_stats:                  ; @i40iw_alloc_hw_stats
	.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
	bl	_to_iwdev
	mov	x19, x0
Lloh0:
	adrp	x20, _I40IW_HW_STAT_INDEX_MAX_32@GOTPAGE
Lloh1:
	ldr	x20, [x20, _I40IW_HW_STAT_INDEX_MAX_32@GOTPAGEOFF]
	ldr	w21, [x20]
Lloh2:
	adrp	x22, _I40IW_HW_STAT_INDEX_MAX_64@GOTPAGE
Lloh3:
	ldr	x22, [x22, _I40IW_HW_STAT_INDEX_MAX_64@GOTPAGEOFF]
	ldr	w23, [x22]
Lloh4:
	adrp	x8, _RDMA_HW_STATS_DEFAULT_LIFESPAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RDMA_HW_STATS_DEFAULT_LIFESPAN@GOTPAGEOFF]
Lloh6:
	ldr	x24, [x8]
Lloh7:
	adrp	x25, _i40iw_hw_stat_names@GOTPAGE
Lloh8:
	ldr	x25, [x25, _i40iw_hw_stat_names@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_ARRAY_SIZE
	ldr	w8, [x20]
	ldr	w9, [x22]
	add	w8, w9, w8
	cmp	w0, w8
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	w8, [x19]
	cmp	w8, #0
	mov	w8, #1000
	csel	x2, x8, x24, eq
	add	w1, w23, w21
	ldr	w0, [x25]
	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	_rdma_alloc_hw_stats_struct
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_HW_STAT_INDEX_MAX_32,4,2 ; @I40IW_HW_STAT_INDEX_MAX_32
	.comm	_I40IW_HW_STAT_INDEX_MAX_64,4,2 ; @I40IW_HW_STAT_INDEX_MAX_64
	.comm	_RDMA_HW_STATS_DEFAULT_LIFESPAN,8,3 ; @RDMA_HW_STATS_DEFAULT_LIFESPAN
	.comm	_i40iw_hw_stat_names,4,2        ; @i40iw_hw_stat_names
	.no_dead_strip	_i40iw_alloc_hw_stats
.subsections_via_symbols
