	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_stop_hw_vf
_fm10k_stop_hw_vf:                      ## @fm10k_stop_hw_vf
	.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, %rbx
	movq	16(%rdi), %r14
	callq	_fm10k_stop_hw_generic
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FM10K_ERR_REQUESTS_PENDING@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_8
LBB0_2:
	movq	%r14, %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	24(%r14), %eax
	shll	$24, %eax
	movl	32(%r14), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	40(%r14), %r15d
	shll	$8, %r15d
	orl	%ecx, %r15d
	movl	(%r14), %eax
	movl	8(%r14), %r12d
	shll	$16, %eax
	shll	$8, %r12d
	orl	%eax, %r12d
	orl	16(%r14), %r12d
	orl	$-16777216, %r12d               ## imm = 0xFF000000
	jmp	LBB0_5
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
LBB0_5:
	movl	(%rbx), %r13d
	movq	_FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	cmpq	$0, 8(%rbx)
	jle	LBB0_8
## %bb.6:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_FM10K_TDBAL
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_fm10k_write_reg
	movq	%r14, %rdi
	callq	_FM10K_TDBAH
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	movq	%r14, %rdi
	callq	_FM10K_RDBAL
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_fm10k_write_reg
	movq	%r14, %rdi
	callq	_FM10K_RDBAH
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	movq	%r14, %rdi
	callq	_FM10K_TDLEN
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_fm10k_write_reg
	incq	%r14
	cmpq	8(%rbx), %r14
	jl	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_REQUESTS_PENDING,8,3 ## @FM10K_ERR_REQUESTS_PENDING
	.comm	_FM10K_TDLEN_ITR_SCALE_SHIFT,4,2 ## @FM10K_TDLEN_ITR_SCALE_SHIFT
	.no_dead_strip	_fm10k_stop_hw_vf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_stop_hw_vf
_fm10k_stop_hw_vf:                      ; @fm10k_stop_hw_vf
	.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
	mov	x19, x0
	ldr	x22, [x0, #16]
	bl	_fm10k_stop_hw_generic
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FM10K_ERR_REQUESTS_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_ERR_REQUESTS_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_8
LBB0_2:
	mov	x0, x22
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x22, #24]
	ldr	w9, [x22, #32]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldr	w9, [x22, #40]
	orr	w21, w8, w9, lsl #8
	ldr	w8, [x22]
	lsl	w8, w8, #16
	ldr	w9, [x22, #8]
	ldr	w10, [x22, #16]
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w10
	orr	w22, w8, #0xff000000
	b	LBB0_5
LBB0_4:
	mov	w22, #0
	mov	w21, #0
LBB0_5:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x23, #0
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w24, w8, w9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_FM10K_TDBAL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_TDBAH
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_RDBAL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_RDBAH
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_TDLEN
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_fm10k_write_reg
	add	x23, x23, #1
	ldr	x8, [x19, #8]
	cmp	x23, x8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_REQUESTS_PENDING,8,3 ; @FM10K_ERR_REQUESTS_PENDING
	.comm	_FM10K_TDLEN_ITR_SCALE_SHIFT,4,2 ; @FM10K_TDLEN_ITR_SCALE_SHIFT
	.no_dead_strip	_fm10k_stop_hw_vf
.subsections_via_symbols
