	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_pf_init
_qlcnic_sriov_pf_init:                  ## @qlcnic_sriov_pf_init
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	24(%r12), %r14
	callq	_qlcnic_sriov_enable_check
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_qlcnic_sriov_pf_cfg_vlan_filtering
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.2:
	movq	%r15, %rdi
	callq	_qlcnic_84xx_check
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_qlcnic_sriov_pf_cfg_flood
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_qlcnic_sriov_pf_cfg_eswitch
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	callq	_qlcnic_sriov_pf_config_vport
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	callq	_qlcnic_sriov_get_pf_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_qlcnic_get_nic_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_qlcnic_sriov_pf_cal_res_limit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_qlcnic_sriov_cfg_bc_intr
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_qlcnic_sriov_pf_config_vport
LBB0_12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_qlcnic_sriov_pf_cfg_eswitch
LBB0_13:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_qlcnic_sriov_pf_cfg_vlan_filtering
LBB0_14:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-40(%rbp), %rax
	movq	%rax, 16(%r12)
	movl	-48(%rbp), %eax
	movl	%eax, 12(%r12)
	movl	-52(%rbp), %eax
	movl	%eax, 8(%r12)
	movl	-56(%rbp), %eax
	movl	%eax, 4(%r12)
	movq	_QLC_83XX_SRIOV_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_83XX_SRIOV_MODE,4,2        ## @QLC_83XX_SRIOV_MODE
	.no_dead_strip	_qlcnic_sriov_pf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_sriov_pf_init
_qlcnic_sriov_pf_init:                  ; @qlcnic_sriov_pf_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x22, [x0]
	ldr	x20, [x22, #24]
	bl	_qlcnic_sriov_enable_check
	cbz	w0, LBB0_13
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_qlcnic_sriov_pf_cfg_vlan_filtering
	mov	x21, x0
	cbnz	w0, LBB0_14
; %bb.2:
	mov	x0, x19
	bl	_qlcnic_84xx_check
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_qlcnic_sriov_pf_cfg_flood
	mov	x21, x0
	cbnz	w0, LBB0_12
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_qlcnic_sriov_pf_cfg_eswitch
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_qlcnic_sriov_pf_config_vport
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.6:
	add	x1, sp, #32
	mov	x0, x19
	bl	_qlcnic_sriov_get_pf_info
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.7:
	add	x1, sp, #56
	mov	x0, x19
	mov	x2, x20
	bl	_qlcnic_get_nic_info
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.8:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_qlcnic_sriov_pf_cal_res_limit
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #1
	bl	_qlcnic_sriov_cfg_bc_intr
	mov	x21, x0
	cbz	w0, LBB0_15
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_qlcnic_sriov_pf_config_vport
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_qlcnic_sriov_pf_cfg_eswitch
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_qlcnic_sriov_pf_cfg_vlan_filtering
	b	LBB0_14
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	ldr	x8, [sp, #72]
	str	x8, [x22, #16]
	ldr	w8, [sp, #64]
	str	w8, [x22, #12]
	ldr	d0, [sp, #56]
	stur	d0, [x22, #4]
Lloh0:
	adrp	x8, _QLC_83XX_SRIOV_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_83XX_SRIOV_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_83XX_SRIOV_MODE,4,2        ; @QLC_83XX_SRIOV_MODE
	.no_dead_strip	_qlcnic_sriov_pf_init
.subsections_via_symbols
