	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_iov_resume               ## -- Begin function fm10k_iov_resume
	.p2align	4, 0x90
_fm10k_iov_resume:                      ## @fm10k_iov_resume
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_pci_get_drvdata
	movq	48(%rax), %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movups	%xmm0, -88(%rbp)
	movq	$0, -56(%rbp)
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_fm10k_mask_aer_comp_abort
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	*16(%r12)
	movq	_FM10K_DGLORTMAP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	32(%r12), %eax
	movl	%eax, -96(%rbp)
	movq	_fm10k_dglort_vf_rss@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	$1, -92(%rbp)
	movq	%r12, %rdi
	callq	_fm10k_queues_per_pool
	leaq	-1(%rax), %rdi
	callq	_fls
	movq	%rax, -64(%rbp)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_fm10k_vf_queue_index
	movl	%eax, -72(%rbp)
	movq	24(%r12), %rdi
	decq	%rdi
	callq	_fls
	movq	%rax, -80(%rbp)
	movl	$1, -88(%rbp)
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	*40(%r12)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r12), %eax
	movq	_FM10K_DGLORTMAP_MASK_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %eax
	notl	%eax
	cmpq	%rax, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r14
	movq	8(%r15), %r15
	leaq	(%r15,%rbx,8), %r13
	movq	_FM10K_VF_FLAG_MULTI_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	*8(%r12)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*(%r12)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*(%r15,%rbx,8)
	movq	%r14, %r15
	incq	%rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_4
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FM10K_DGLORTMAP_NONE,4,2       ## @FM10K_DGLORTMAP_NONE
	.comm	_fm10k_dglort_vf_rss,4,2        ## @fm10k_dglort_vf_rss
	.comm	_FM10K_DGLORTMAP_MASK_SHIFT,4,2 ## @FM10K_DGLORTMAP_MASK_SHIFT
	.comm	_FM10K_VF_FLAG_MULTI_CAPABLE,4,2 ## @FM10K_VF_FLAG_MULTI_CAPABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_iov_resume               ; -- Begin function fm10k_iov_resume
	.p2align	2
_fm10k_iov_resume:                      ; @fm10k_iov_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x0
	bl	_pci_get_drvdata
	ldr	x23, [x0, #48]
	str	xzr, [sp, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #24]
	stur	q0, [sp, #8]
	cbz	x23, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w20, [x23]
	mov	x0, x21
	bl	_fm10k_mask_aer_comp_abort
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	blr	x8
	ldr	w8, [x19, #32]
Lloh0:
	adrp	x9, _FM10K_DGLORTMAP_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_DGLORTMAP_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _fm10k_dglort_vf_rss@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fm10k_dglort_vf_rss@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w8, [sp]
	str	w9, [sp, #40]
	mov	x0, x19
	bl	_fm10k_queues_per_pool
	sub	x0, x0, #1
	bl	_fls
	str	x0, [sp, #32]
	mov	x0, x19
	mov	w1, #0
	bl	_fm10k_vf_queue_index
	str	w0, [sp, #24]
	ldr	x8, [x19, #24]
	sub	x0, x8, #1
	bl	_fls
	str	x0, [sp, #16]
	movi.2s	v0, #1
	stur	d0, [sp, #4]
	ldr	x8, [x19, #40]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
Lloh6:
	adrp	x24, _FM10K_DGLORTMAP_MASK_SHIFT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FM10K_DGLORTMAP_MASK_SHIFT@GOTPAGEOFF]
Lloh8:
	adrp	x25, _FM10K_VF_FLAG_MULTI_CAPABLE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _FM10K_VF_FLAG_MULTI_CAPABLE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #32]
	ldr	w9, [x24]
	asr	w8, w8, w9
	mvn	w8, w8
	cmp	x21, x8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, #8]
	add	x22, x8, x21, lsl #3
	ldr	x8, [x19, #8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	blr	x8
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	ldr	x8, [x22]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	add	x21, x21, #1
	cmp	x21, x20
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FM10K_DGLORTMAP_NONE,4,2       ; @FM10K_DGLORTMAP_NONE
	.comm	_fm10k_dglort_vf_rss,4,2        ; @fm10k_dglort_vf_rss
	.comm	_FM10K_DGLORTMAP_MASK_SHIFT,4,2 ; @FM10K_DGLORTMAP_MASK_SHIFT
	.comm	_FM10K_VF_FLAG_MULTI_CAPABLE,4,2 ; @FM10K_VF_FLAG_MULTI_CAPABLE
.subsections_via_symbols
