	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_idc_reattach_driver ## -- Begin function qlcnic_83xx_idc_reattach_driver
	.p2align	4, 0x90
_qlcnic_83xx_idc_reattach_driver:       ## @qlcnic_83xx_idc_reattach_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%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_83xx_initialize_nic
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_pf_reinit
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_enable_mbx_interrupt
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_configure_opmode
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_qlcnic_83xx_idc_enter_failed_state
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_qlcnic_set_drv_version
LBB0_6:
	movl	8(%rbx), %edi
	callq	_qlcnic_dcb_get_info
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_idc_attach_driver
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_idc_reattach_driver ; -- Begin function qlcnic_83xx_idc_reattach_driver
	.p2align	2
_qlcnic_83xx_idc_reattach_driver:       ; @qlcnic_83xx_idc_reattach_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
	ldr	x8, [x0, #24]
	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_83xx_initialize_nic
	mov	x0, x19
	bl	_qlcnic_sriov_pf_reinit
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_qlcnic_83xx_enable_mbx_interrupt
	mov	x0, x19
	bl	_qlcnic_83xx_configure_opmode
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	bl	_qlcnic_83xx_idc_enter_failed_state
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_qlcnic_set_drv_version
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_qlcnic_dcb_get_info
	mov	x0, x19
	bl	_qlcnic_83xx_idc_attach_driver
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
