	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_vf_resume
_qlcnic_sriov_vf_resume:                ## @qlcnic_sriov_vf_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	8(%rdi), %r12
	movq	_QLC_83XX_MODULE_LOADED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r12), %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_qlcnic_83xx_enable_mbx_interrupt
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_qlcnic_sriov_cfg_bc_intr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_QLCNIC_BC_CMD_CHANNEL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qlcnic_sriov_channel_cfg_cmd
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	movq	%r14, %rdi
	callq	_netif_device_attach
	movq	_qlcnic_sriov_vf_poll_dev_state@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_qlcnic_schedule_work
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	callq	_netif_running
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qlcnic_up
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_NETDEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_qlcnic_restore_indev_addr
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_83XX_MODULE_LOADED,4,2     ## @QLC_83XX_MODULE_LOADED
	.comm	_QLCNIC_BC_CMD_CHANNEL_INIT,4,2 ## @QLCNIC_BC_CMD_CHANNEL_INIT
	.comm	_NETDEV_UP,4,2                  ## @NETDEV_UP
	.comm	_qlcnic_sriov_vf_poll_dev_state,4,2 ## @qlcnic_sriov_vf_poll_dev_state
	.no_dead_strip	_qlcnic_sriov_vf_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_sriov_vf_resume
_qlcnic_sriov_vf_resume:                ; @qlcnic_sriov_vf_resume
	.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	x19, x0
	ldp	x20, x22, [x0]
Lloh0:
	adrp	x8, _QLC_83XX_MODULE_LOADED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_83XX_MODULE_LOADED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x22, #4
	bl	_set_bit
	mov	x0, x19
	bl	_qlcnic_83xx_enable_mbx_interrupt
	mov	x0, x19
	mov	w1, #1
	bl	_qlcnic_sriov_cfg_bc_intr
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _QLCNIC_BC_CMD_CHANNEL_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_BC_CMD_CHANNEL_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qlcnic_sriov_channel_cfg_cmd
	mov	x21, x0
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_netif_device_attach
Lloh6:
	adrp	x8, _qlcnic_sriov_vf_poll_dev_state@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qlcnic_sriov_vf_poll_dev_state@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_qlcnic_schedule_work
LBB0_3:
	mov	x0, x21
	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
	ret
LBB0_4:
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_qlcnic_up
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.6:
Lloh9:
	adrp	x8, _NETDEV_UP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETDEV_UP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_qlcnic_restore_indev_addr
	b	LBB0_2
LBB0_7:
	mov	w21, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_83XX_MODULE_LOADED,4,2     ; @QLC_83XX_MODULE_LOADED
	.comm	_QLCNIC_BC_CMD_CHANNEL_INIT,4,2 ; @QLCNIC_BC_CMD_CHANNEL_INIT
	.comm	_NETDEV_UP,4,2                  ; @NETDEV_UP
	.comm	_qlcnic_sriov_vf_poll_dev_state,4,2 ; @qlcnic_sriov_vf_poll_dev_state
	.no_dead_strip	_qlcnic_sriov_vf_resume
.subsections_via_symbols
