	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_pf_del_guest_vlan
_qlcnic_sriov_pf_del_guest_vlan:        ## @qlcnic_sriov_pf_del_guest_vlan
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_qlcnic_sriov_check_any_vlan
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movswl	6(%rax), %r12d
	cmpl	$0, (%r13)
	je	LBB0_5
## %bb.2:
	movq	_QLCNIC_MAC_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_qlcnic_sriov_cfg_vf_def_mac
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_qlcnic_sriov_del_vlan_id
	movq	%r14, %rdi
	callq	_qlcnic_83xx_pf_check
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_QLCNIC_MAC_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_qlcnic_sriov_cfg_vf_def_mac
	jmp	LBB0_7
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_qlcnic_sriov_del_vlan_id
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QLCNIC_MAC_DEL,4,2             ## @QLCNIC_MAC_DEL
	.comm	_QLCNIC_MAC_ADD,4,2             ## @QLCNIC_MAC_ADD
	.no_dead_strip	_qlcnic_sriov_pf_del_guest_vlan
.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_del_guest_vlan
_qlcnic_sriov_pf_del_guest_vlan:        ; @qlcnic_sriov_pf_del_guest_vlan
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	mov	x0, x1
	bl	_qlcnic_sriov_check_any_vlan
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x22]
	ldrsh	w22, [x8, #6]
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _QLCNIC_MAC_DEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_MAC_DEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_qlcnic_sriov_cfg_vf_def_mac
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_qlcnic_sriov_del_vlan_id
	mov	x0, x20
	bl	_qlcnic_83xx_pf_check
	cbz	x0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _QLCNIC_MAC_ADD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_MAC_ADD@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_qlcnic_sriov_cfg_vf_def_mac
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_qlcnic_sriov_del_vlan_id
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QLCNIC_MAC_DEL,4,2             ; @QLCNIC_MAC_DEL
	.comm	_QLCNIC_MAC_ADD,4,2             ; @QLCNIC_MAC_ADD
	.no_dead_strip	_qlcnic_sriov_pf_del_guest_vlan
.subsections_via_symbols
