	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_pf_handle_flr     ## -- Begin function qlcnic_sriov_pf_handle_flr
	.p2align	4, 0x90
_qlcnic_sriov_pf_handle_flr:            ## @qlcnic_sriov_pf_handle_flr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movq	_QLC_BC_VF_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rsi), %rbx
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	movq	_QLC_BC_VF_FLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_4:
	movq	_qlcnic_sriov_pf_process_flr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qlcnic_sriov_schedule_flr
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_BC_VF_STATE,4,2            ## @QLC_BC_VF_STATE
	.comm	_QLC_BC_VF_FLR,4,2              ## @QLC_BC_VF_FLR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FLR for PCI func %d in progress\n"

	.comm	_qlcnic_sriov_pf_process_flr,4,2 ## @qlcnic_sriov_pf_process_flr
L_.str.1:                               ## @.str.1
	.asciz	"FLR received for PCI func %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_pf_handle_flr     ; -- Begin function qlcnic_sriov_pf_handle_flr
	.p2align	2
_qlcnic_sriov_pf_handle_flr:            ; @qlcnic_sriov_pf_handle_flr
	.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	x21, x0
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _QLC_BC_VF_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_BC_VF_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, x1, #4
	mov	x1, x22
	bl	_test_and_clear_bit
	mov	x8, x0
Lloh3:
	adrp	x9, _QLC_BC_VF_FLR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLC_BC_VF_FLR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	mov	x1, x22
	cbz	w8, LBB0_3
; %bb.1:
	bl	_test_and_set_bit
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	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
	b	_clear_bit
LBB0_4:
Lloh8:
	adrp	x8, _qlcnic_sriov_pf_process_flr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qlcnic_sriov_pf_process_flr@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_qlcnic_sriov_schedule_flr
	ldr	w2, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	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
	b	_netdev_info
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_BC_VF_STATE,4,2            ; @QLC_BC_VF_STATE
	.comm	_QLC_BC_VF_FLR,4,2              ; @QLC_BC_VF_FLR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FLR for PCI func %d in progress\n"

	.comm	_qlcnic_sriov_pf_process_flr,4,2 ; @qlcnic_sriov_pf_process_flr
l_.str.1:                               ; @.str.1
	.asciz	"FLR received for PCI func %d\n"

.subsections_via_symbols
