	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_pf_cfg_guest_vlan_cmd
_qlcnic_sriov_pf_cfg_guest_vlan_cmd:    ## @qlcnic_sriov_pf_cfg_guest_vlan_cmd
	.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	%rsi, %rbx
	movq	(%rdi), %rsi
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	_QLC_GUEST_VLAN_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rsi), %rdi
	movq	8(%rbx), %rax
	testb	$15, 4(%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdx
	callq	_qlcnic_sriov_pf_add_guest_vlan
	jmp	LBB0_5
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	$67108864, %ecx                 ## imm = 0x4000000
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdx
	callq	_qlcnic_sriov_pf_del_guest_vlan
LBB0_5:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	shll	$25, %ecx
	addl	$33554432, %ecx                 ## imm = 0x2000000
LBB0_6:
	movq	(%rbx), %rdx
	orl	%ecx, (%rdx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLC_GUEST_VLAN_MODE,8,3        ## @QLC_GUEST_VLAN_MODE
	.no_dead_strip	_qlcnic_sriov_pf_cfg_guest_vlan_cmd
.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_cfg_guest_vlan_cmd
_qlcnic_sriov_pf_cfg_guest_vlan_cmd:    ; @qlcnic_sriov_pf_cfg_guest_vlan_cmd
	.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, x1
	ldr	x1, [x0]
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _QLC_GUEST_VLAN_MODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLC_GUEST_VLAN_MODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x1, #8]
	ldr	x8, [x19, #8]
	ldrb	w8, [x8, #4]
	mov	x2, x19
	tst	w8, #0xf
	b.eq	LBB0_4
; %bb.2:
	bl	_qlcnic_sriov_pf_add_guest_vlan
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	mov	w8, #67108864
	b	LBB0_6
LBB0_4:
	bl	_qlcnic_sriov_pf_del_guest_vlan
LBB0_5:
	mov	w8, #67108864
	mov	w9, #33554432
	cmp	w0, #0
	csel	w8, w9, w8, eq
LBB0_6:
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	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	_EIO,4,2                        ; @EIO
	.comm	_QLC_GUEST_VLAN_MODE,8,3        ; @QLC_GUEST_VLAN_MODE
	.no_dead_strip	_qlcnic_sriov_pf_cfg_guest_vlan_cmd
.subsections_via_symbols
