	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qlcnic_sriov_validate_vlan_cfg
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qlcnic_sriov_validate_vlan_cfg:        ## @qlcnic_sriov_validate_vlan_cfg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	_QLC_GUEST_VLAN_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.1:
	movq	(%rdi), %rcx
	testl	%edx, %edx
	je	LBB0_18
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_3
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	popq	%rbp
	retq
LBB0_18:
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	cmpq	%rsi, %rcx
	je	LBB0_21
	jmp	LBB0_20
LBB0_3:
	cmpq	$0, 32(%rdi)
	je	LBB0_4
## %bb.5:
	movl	16(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_20
## %bb.6:
	movq	24(%rdi), %rcx
	cmpl	$4, %r9d
	jae	LBB0_8
## %bb.7:
	xorl	%edx, %edx
	xorl	%edi, %edi
	jmp	LBB0_15
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%r9d, %edx
	andl	$-4, %edx
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r8, %rax
	andq	$-2, %rax
	xorps	%xmm2, %xmm2
	xorl	%edi, %edi
	movaps	LCPI0_0(%rip), %xmm4            ## xmm4 = <1,1,u,u>
	xorps	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm5
	movdqu	32(%rcx,%rdi,8), %xmm6
	movdqu	48(%rcx,%rdi,8), %xmm7
	pcmpeqq	%xmm1, %xmm0
	pcmpeqq	%xmm1, %xmm5
	pcmpeqq	%xmm1, %xmm6
	por	%xmm0, %xmm6
	pcmpeqq	%xmm1, %xmm7
	por	%xmm5, %xmm7
	pshufd	$232, %xmm6, %xmm0              ## xmm0 = xmm6[0,2,2,3]
	blendvps	%xmm0, %xmm4, %xmm2
	pshufd	$232, %xmm7, %xmm0              ## xmm0 = xmm7[0,2,2,3]
	blendvps	%xmm0, %xmm4, %xmm3
	addq	$8, %rdi
	addq	$-2, %rax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_9:
	xorps	%xmm2, %xmm2
	xorl	%edi, %edi
	xorps	%xmm3, %xmm3
LBB0_12:
	testb	$1, %r8b
	je	LBB0_14
## %bb.13:
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm4
	pcmpeqq	%xmm1, %xmm0
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pcmpeqq	%xmm1, %xmm4
	pshufd	$232, %xmm4, %xmm1              ## xmm1 = xmm4[0,2,2,3]
	movaps	LCPI0_0(%rip), %xmm4            ## xmm4 = <1,1,u,u>
	blendvps	%xmm0, %xmm4, %xmm2
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm4, %xmm3
LBB0_14:
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm2, %xmm0
	blendvps	%xmm0, %xmm3, %xmm2
	movq	%xmm2, %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	cmpq	%r9, %rdx
	je	LBB0_17
LBB0_15:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx,%rdx,8)
	cmovel	%eax, %edi
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_16
LBB0_17:
	xorl	%eax, %eax
	testl	%edi, %edi
	jne	LBB0_21
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_GUEST_VLAN_MODE,8,3        ## @QLC_GUEST_VLAN_MODE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qlcnic_sriov_validate_vlan_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_sriov_validate_vlan_cfg
_qlcnic_sriov_validate_vlan_cfg:        ; @qlcnic_sriov_validate_vlan_cfg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
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_8
; %bb.1:
	ldr	x8, [x0]
	cbz	w2, LBB0_7
; %bb.2:
	cbnz	x8, LBB0_8
; %bb.3:
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_15
; %bb.4:
	ldr	w8, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x9, [x0, #24]
	cmp	w8, #8
	b.hs	LBB0_9
; %bb.6:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_12
LBB0_7:
	cmp	x8, #0
	ccmp	x8, x1, #0, ne
	b.eq	LBB0_15
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	and	x10, x8, #0xfffffff8
	dup.2d	v1, x1
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	movi.2s	v3, #1
	mov	x12, x10
	movi.2d	v5, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v2, #0000000000000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q6, q7, [x11, #-32]
	ldp	q16, q17, [x11], #64
	cmeq.2d	v6, v6, v1
	xtn.2s	v6, v6
	cmeq.2d	v7, v7, v1
	xtn.2s	v7, v7
	cmeq.2d	v16, v16, v1
	xtn.2s	v16, v16
	cmeq.2d	v17, v17, v1
	xtn.2s	v17, v17
	bit.8b	v0, v3, v6
	bit.8b	v5, v3, v7
	bit.8b	v4, v3, v16
	bit.8b	v2, v3, v17
	subs	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	cmeq.2s	v1, v0, #0
	bit.8b	v0, v5, v1
	cmeq.2s	v1, v0, #0
	bit.8b	v0, v4, v1
	cmeq.2s	v1, v0, #0
	bit.8b	v0, v2, v1
	fmov	x11, d0
	cmp	x11, #0
	cset	w11, ne
	cmp	x10, x8
	b.eq	LBB0_14
LBB0_12:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	cmp	x10, x1
	csinc	w11, w11, wzr, ne
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	cbz	w11, LBB0_8
LBB0_15:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_GUEST_VLAN_MODE,8,3        ; @QLC_GUEST_VLAN_MODE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qlcnic_sriov_validate_vlan_cfg
.subsections_via_symbols
