	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_set_vf_mac        ## -- Begin function qlcnic_sriov_set_vf_mac
	.p2align	4, 0x90
_qlcnic_sriov_set_vf_mac:               ## @qlcnic_sriov_set_vf_mac
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_pf_check
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	(%r13), %r14d
	movq	%r12, %rdi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.3:
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.12:
	movl	$8, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r15), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	addq	$16, %r15
	cmpq	%rbx, %r14
	jne	LBB0_13
LBB0_15:
	movq	8(%r13), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rsi
	movq	8(%rax,%rcx), %rax
	movq	(%rax), %r15
	movq	_QLC_BC_VF_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_5
LBB0_18:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_memcpy
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_netdev_info
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address is already in use by the PF\n"

L_.str.1:                               ## @.str.1
	.asciz	"MAC address is already in use by VF %d\n"

	.comm	_QLC_BC_VF_STATE,4,2            ## @QLC_BC_VF_STATE
L_.str.2:                               ## @.str.2
	.asciz	"MAC address change failed for VF %d, as VF driver is loaded. Please unload VF driver and retry the operation\n"

L_.str.3:                               ## @.str.3
	.asciz	"MAC Address %pM  is configured for VF %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_set_vf_mac        ; -- Begin function qlcnic_sriov_set_vf_mac
	.p2align	2
_qlcnic_sriov_set_vf_mac:               ; @qlcnic_sriov_set_vf_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	bl	_qlcnic_sriov_pf_check
	cbz	w0, LBB0_13
; %bb.1:
	ldr	w24, [x23]
	mov	x0, x21
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_6
; %bb.2:
	cmp	w24, w20
	b.le	LBB0_6
; %bb.3:
	ldr	x0, [x22]
	mov	x1, x21
	bl	_ether_addr_equal
	cbz	x0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_netdev_err
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x22, #0
	mov	w25, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	x8, [x8, x25]
	ldr	x0, [x8]
	mov	x1, x21
	bl	_ether_addr_equal
	cbnz	x0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	add	x25, x25, #16
	cmp	x24, x22
	b.ne	LBB0_9
LBB0_11:
	ldr	x8, [x23, #8]
	add	x1, x8, w20, sxtw #4
	ldr	x8, [x1, #8]
	ldr	x22, [x8]
Lloh4:
	adrp	x8, _QLC_BC_VF_STATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QLC_BC_VF_STATE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.12:
	str	x20, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_13:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
	str	x22, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_17:
	ldr	w2, [x19]
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_netdev_info
	mov	w0, #0
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address is already in use by the PF\n"

l_.str.1:                               ; @.str.1
	.asciz	"MAC address is already in use by VF %d\n"

	.comm	_QLC_BC_VF_STATE,4,2            ; @QLC_BC_VF_STATE
l_.str.2:                               ; @.str.2
	.asciz	"MAC address change failed for VF %d, as VF driver is loaded. Please unload VF driver and retry the operation\n"

l_.str.3:                               ; @.str.3
	.asciz	"MAC Address %pM  is configured for VF %d\n"

.subsections_via_symbols
