	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_vf_reinit_driver
_qlcnic_sriov_vf_reinit_driver:         ## @qlcnic_sriov_vf_reinit_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, 8(%rdi)
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_qlcnic_83xx_reinit_mbx_work
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_enable_mbx_interrupt
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_qlcnic_sriov_cfg_bc_intr
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_QLCNIC_BC_CMD_CHANNEL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_channel_cfg_cmd
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_vf_init_driver
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	_QLCNIC_BC_CMD_CHANNEL_TERM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_channel_cfg_cmd
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qlcnic_sriov_cfg_bc_intr
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_BC_CMD_CHANNEL_INIT,4,2 ## @QLCNIC_BC_CMD_CHANNEL_INIT
	.comm	_QLCNIC_BC_CMD_CHANNEL_TERM,4,2 ## @QLCNIC_BC_CMD_CHANNEL_TERM
	.no_dead_strip	_qlcnic_sriov_vf_reinit_driver
.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_reinit_driver
_qlcnic_sriov_vf_reinit_driver:         ; @qlcnic_sriov_vf_reinit_driver
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [x0, #8]
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_qlcnic_83xx_reinit_mbx_work
	mov	x0, x19
	bl	_qlcnic_83xx_enable_mbx_interrupt
	mov	x0, x19
	mov	w1, #1
	bl	_qlcnic_sriov_cfg_bc_intr
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _QLCNIC_BC_CMD_CHANNEL_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_BC_CMD_CHANNEL_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qlcnic_sriov_channel_cfg_cmd
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_qlcnic_sriov_vf_init_driver
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _QLCNIC_BC_CMD_CHANNEL_TERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_BC_CMD_CHANNEL_TERM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qlcnic_sriov_channel_cfg_cmd
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_qlcnic_sriov_cfg_bc_intr
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_BC_CMD_CHANNEL_INIT,4,2 ; @QLCNIC_BC_CMD_CHANNEL_INIT
	.comm	_QLCNIC_BC_CMD_CHANNEL_TERM,4,2 ; @QLCNIC_BC_CMD_CHANNEL_TERM
	.no_dead_strip	_qlcnic_sriov_vf_reinit_driver
.subsections_via_symbols
