	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_initialize_nic     ## -- Begin function qlcnic_83xx_initialize_nic
	.p2align	4, 0x90
_qlcnic_83xx_initialize_nic:            ## @qlcnic_83xx_initialize_nic
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_qlcnic_sriov_vf_check
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.3:
	movq	_QLCNIC_CMD_STOP_NIC_FUNC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_QLCNIC_CMD_INIT_NIC_FUNC@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	_QLC_REGISTER_LB_IDC@GOTPCREL(%rip), %rcx
	movq	_QLC_INIT_FW_RESOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	-24(%rbp), %rcx
	movl	%eax, 4(%rcx)
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_QLC_REGISTER_DCB_AEN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 4(%rcx)
LBB0_7:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_issue_cmd
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	testl	%r14d, %r14d
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_9:
	leaq	-24(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_INIT_NIC_FUNC,4,2   ## @QLCNIC_CMD_INIT_NIC_FUNC
	.comm	_QLCNIC_CMD_STOP_NIC_FUNC,4,2   ## @QLCNIC_CMD_STOP_NIC_FUNC
	.comm	_QLC_REGISTER_LB_IDC,4,2        ## @QLC_REGISTER_LB_IDC
	.comm	_QLC_INIT_FW_RESOURCES,4,2      ## @QLC_INIT_FW_RESOURCES
	.comm	_QLC_REGISTER_DCB_AEN,4,2       ## @QLC_REGISTER_DCB_AEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to %s in NIC IDC function event.\n"

L_.str.1:                               ## @.str.1
	.asciz	"register"

L_.str.2:                               ## @.str.2
	.asciz	"unregister"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_initialize_nic     ; -- Begin function qlcnic_83xx_initialize_nic
	.p2align	2
_qlcnic_83xx_initialize_nic:            ; @qlcnic_83xx_initialize_nic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_qlcnic_sriov_vf_check
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _QLCNIC_CMD_STOP_NIC_FUNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_STOP_NIC_FUNC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _QLCNIC_CMD_INIT_NIC_FUNC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QLCNIC_CMD_INIT_NIC_FUNC@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_qlcnic_alloc_mbx_args
	cbnz	w0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x8, _QLC_REGISTER_LB_IDC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QLC_REGISTER_LB_IDC@GOTPAGEOFF]
Lloh6:
	adrp	x9, _QLC_INIT_FW_RESOURCES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLC_INIT_FW_RESOURCES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	x8, [sp, #8]
	str	w9, [x8, #4]
	ldr	x10, [x20, #8]
	cbz	x10, LBB0_4
; %bb.3:
Lloh10:
	adrp	x10, _QLC_REGISTER_DCB_AEN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _QLC_REGISTER_DCB_AEN@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, #4]
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_qlcnic_issue_cmd
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x20]
Lloh13:
	adrp	x8, l_.str.1@PAGE
Lloh14:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #0
	csel	x2, x9, x8, eq
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_6:
	add	x0, sp, #8
	bl	_qlcnic_free_mbx_args
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_INIT_NIC_FUNC,4,2   ; @QLCNIC_CMD_INIT_NIC_FUNC
	.comm	_QLCNIC_CMD_STOP_NIC_FUNC,4,2   ; @QLCNIC_CMD_STOP_NIC_FUNC
	.comm	_QLC_REGISTER_LB_IDC,4,2        ; @QLC_REGISTER_LB_IDC
	.comm	_QLC_INIT_FW_RESOURCES,4,2      ; @QLC_INIT_FW_RESOURCES
	.comm	_QLC_REGISTER_DCB_AEN,4,2       ; @QLC_REGISTER_DCB_AEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to %s in NIC IDC function event.\n"

l_.str.1:                               ; @.str.1
	.asciz	"register"

l_.str.2:                               ; @.str.2
	.asciz	"unregister"

.subsections_via_symbols
