	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvu_flr_init
_rvu_flr_init:                          ## @rvu_flr_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	%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, %r14
	movq	32(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_BLKADDR_RVUM@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movl	%ebx, %edi
	callq	_RVU_PRIV_PFX_CFG
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rvu_read64
	movl	%eax, %r15d
	movl	(%r12), %r12d
	movl	%ebx, %edi
	callq	_RVU_PRIV_PFX_CFG
	movl	%eax, %r13d
	movl	$22, %edi
	callq	_BIT_ULL
	orl	%eax, %r15d
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_rvu_write64
	incl	%ebx
	movq	32(%r14), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_WQ_UNBOUND@GOTPCREL(%rip), %rax
	movq	_WQ_HIGHPRI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	$1, %edx
	callq	_alloc_workqueue
	movl	%eax, 16(%r14)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	32(%r14), %rax
	movl	(%rax), %r15d
	movl	24(%r14), %edi
	callq	_pci_sriov_get_totalvfs
	movl	%eax, %ebx
	addl	%r15d, %ebx
	movl	20(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	testl	%ebx, %ebx
	jle	LBB0_10
## %bb.7:
	movq	%r14, 8(%rax)
	movq	_rvu_flr_handler@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_INIT_WORK
	cmpl	$1, %ebx
	je	LBB0_10
## %bb.8:
	movl	%ebx, %r12d
	decq	%r12
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movq	%r14, 8(%rdi,%rbx)
	addq	%rbx, %rdi
	movl	(%r15), %esi
	callq	_INIT_WORK
	addq	$16, %rbx
	decq	%r12
	jne	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	callq	_mutex_init
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_12:
	movl	16(%r14), %edi
	callq	_destroy_workqueue
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKADDR_RVUM,4,2               ## @BLKADDR_RVUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rvu_afpf_flr"

	.comm	_WQ_UNBOUND,4,2                 ## @WQ_UNBOUND
	.comm	_WQ_HIGHPRI,4,2                 ## @WQ_HIGHPRI
	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rvu_flr_handler,4,2            ## @rvu_flr_handler
	.no_dead_strip	_rvu_flr_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvu_flr_init
_rvu_flr_init:                          ; @rvu_flr_init
	.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	x8, [x0, #32]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh0:
	adrp	x24, _BLKADDR_RVUM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BLKADDR_RVUM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x24]
	mov	x0, x20
	bl	_RVU_PRIV_PFX_CFG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_rvu_read64
	mov	x21, x0
	ldr	w22, [x24]
	mov	x0, x20
	bl	_RVU_PRIV_PFX_CFG
	mov	x23, x0
	mov	w0, #22
	bl	_BIT_ULL
	orr	w3, w0, w21
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_rvu_write64
	add	w20, w20, #1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _WQ_UNBOUND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WQ_UNBOUND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _WQ_HIGHPRI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WQ_HIGHPRI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _WQ_MEM_RECLAIM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #1
	bl	_alloc_workqueue
	str	w0, [x19, #16]
	cbz	w0, LBB0_11
; %bb.4:
	ldr	x8, [x19, #32]
	ldr	w20, [x8]
	ldr	w0, [x19, #24]
	bl	_pci_sriov_get_totalvfs
	add	w20, w0, w20
	ldr	w0, [x19, #20]
Lloh13:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.5:
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.6:
	str	x19, [x0, #8]
Lloh16:
	adrp	x21, _rvu_flr_handler@GOTPAGE
Lloh17:
	ldr	x21, [x21, _rvu_flr_handler@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_INIT_WORK
	cmp	w20, #1
	b.eq	LBB0_9
; %bb.7:
	sub	x20, x20, #1
	mov	w22, #24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	str	x19, [x0], #-8
	ldr	w1, [x21]
	bl	_INIT_WORK
	add	x22, x22, #16
	subs	x20, x20, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	bl	_mutex_init
	mov	w0, #0
	b	LBB0_12
LBB0_10:
	ldr	w0, [x19, #16]
	bl	_destroy_workqueue
LBB0_11:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKADDR_RVUM,4,2               ; @BLKADDR_RVUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rvu_afpf_flr"

	.comm	_WQ_UNBOUND,4,2                 ; @WQ_UNBOUND
	.comm	_WQ_HIGHPRI,4,2                 ; @WQ_HIGHPRI
	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rvu_flr_handler,4,2            ; @rvu_flr_handler
	.no_dead_strip	_rvu_flr_init
.subsections_via_symbols
