	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sriov_pf_add_guest_vlan
_qlcnic_sriov_pf_add_guest_vlan:        ## @qlcnic_sriov_pf_add_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	8(%rsi), %r15
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	cmpl	$0, 4(%rsi)
	je	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	movl	(%rbx), %edx
	movq	_QLCNIC_MAC_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_qlcnic_sriov_cfg_vf_def_mac
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	(%r12), %rax
	movswl	6(%rax), %ecx
	movl	%ecx, (%r15)
	movl	(%rbx), %edx
	movq	_QLCNIC_MAC_ADD@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qlcnic_sriov_cfg_vf_def_mac
	movl	%eax, %r12d
	movl	$0, %eax
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	movl	(%rbx), %edx
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_qlcnic_sriov_cfg_vf_def_mac
	movl	$0, (%r15)
	movl	%r12d, %eax
	jmp	LBB0_7
LBB0_3:
	movq	(%r12), %rax
	movswl	6(%rax), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLCNIC_MAC_DEL,4,2             ## @QLCNIC_MAC_DEL
	.comm	_QLCNIC_MAC_ADD,4,2             ## @QLCNIC_MAC_ADD
	.no_dead_strip	_qlcnic_sriov_pf_add_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_add_guest_vlan
_qlcnic_sriov_pf_add_guest_vlan:        ; @qlcnic_sriov_pf_add_guest_vlan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x1, #8]
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_2:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x23, x2
	mov	x21, x1
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x20, x0
	ldr	w2, [x21]
Lloh3:
	adrp	x8, _QLCNIC_MAC_DEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_MAC_DEL@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x1, x19
	mov	w3, #0
	bl	_qlcnic_sriov_cfg_vf_def_mac
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.5:
	ldr	x8, [x23]
	ldrsh	w3, [x8, #6]
	str	w3, [x19]
	ldr	w2, [x21]
Lloh6:
	adrp	x23, _QLCNIC_MAC_ADD@GOTPAGE
Lloh7:
	ldr	x23, [x23, _QLCNIC_MAC_ADD@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_qlcnic_sriov_cfg_vf_def_mac
	mov	x22, x0
	cbz	w0, LBB0_2
; %bb.6:
	ldr	w2, [x21]
	ldr	w4, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qlcnic_sriov_cfg_vf_def_mac
	str	wzr, [x19]
	b	LBB0_2
LBB0_7:
	mov	w22, #0
	ldr	x8, [x23]
	ldrsh	w8, [x8, #6]
	str	w8, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLCNIC_MAC_DEL,4,2             ; @QLCNIC_MAC_DEL
	.comm	_QLCNIC_MAC_ADD,4,2             ; @QLCNIC_MAC_ADD
	.no_dead_strip	_qlcnic_sriov_pf_add_guest_vlan
.subsections_via_symbols
