	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_mac
_qlcnic_set_mac:                        ## @qlcnic_set_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_qlcnic_sriov_vf_check
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_QLCNIC_MAC_OVERRIDE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_5
## %bb.4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r13, %r14
	movl	(%r12), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movl	12(%r14), %edi
	movl	(%r12), %esi
	callq	_ether_addr_equal_unaligned
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	4(%r15), %edi
	movl	(%r12), %esi
	callq	_ether_addr_equal_unaligned
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_12
LBB0_8:
	movq	___QLCNIC_DEV_UP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addq	$4, %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_netif_device_detach
	movq	%r14, %rdi
	callq	_qlcnic_napi_disable
LBB0_10:
	movq	%r14, %rdi
	callq	_qlcnic_delete_adapter_mac
	movl	12(%r14), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	callq	_memcpy
	movl	(%r15), %edx
	movl	4(%r15), %edi
	movl	(%r12), %esi
	callq	_memcpy
	movl	8(%r14), %edi
	callq	_qlcnic_set_multi
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_netif_device_attach
	movq	%r14, %rdi
	callq	_qlcnic_napi_enable
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ## @QLCNIC_MAC_OVERRIDE_DISABLED
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	___QLCNIC_DEV_UP,4,2            ## @__QLCNIC_DEV_UP
	.no_dead_strip	_qlcnic_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_mac
_qlcnic_set_mac:                        ; @qlcnic_set_mac
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	bl	_qlcnic_sriov_vf_check
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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_6:
	ldr	w0, [x21]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_1
; %bb.7:
	ldr	w0, [x20, #12]
	ldr	w1, [x21]
	bl	_ether_addr_equal_unaligned
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	bl	_ether_addr_equal_unaligned
	cbnz	x0, LBB0_13
LBB0_9:
Lloh7:
	adrp	x23, ___QLCNIC_DEV_UP@GOTPAGE
Lloh8:
	ldr	x23, [x23, ___QLCNIC_DEV_UP@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x22, x20, #4
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_netif_device_detach
	mov	x0, x20
	bl	_qlcnic_napi_disable
LBB0_11:
	mov	x0, x20
	bl	_qlcnic_delete_adapter_mac
	ldr	w0, [x20, #12]
	ldr	w1, [x21]
	ldr	w2, [x19]
	bl	_memcpy
	ldr	w1, [x21]
	ldp	w2, w0, [x19]
	bl	_memcpy
	ldr	w0, [x20, #8]
	bl	_qlcnic_set_multi
	ldr	w0, [x23]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.12:
	mov	x0, x19
	bl	_netif_device_attach
	mov	x0, x20
	bl	_qlcnic_napi_enable
LBB0_13:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ; @QLCNIC_MAC_OVERRIDE_DISABLED
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	___QLCNIC_DEV_UP,4,2            ; @__QLCNIC_DEV_UP
	.no_dead_strip	_qlcnic_set_mac
.subsections_via_symbols
