	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4vf_mac_sync
_cxgb4vf_mac_sync:                      ## @cxgb4vf_mac_sync
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %r15
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	%r13, %rdi
	callq	_is_unicast_ether_addr
	movq	%r13, -56(%rbp)
	movl	(%r14), %esi
	testl	%eax, %eax
	leaq	-72(%rbp), %rax
	leaq	-64(%rbp), %rbx
	cmoveq	%rax, %rbx
	leaq	-56(%rbp), %r8
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_t4vf_alloc_mac_filt
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	-64(%rbp), %rcx
	orq	-72(%rbp), %rcx
	je	LBB0_5
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movl	4(%rax), %edi
	movq	%r13, %rsi
	callq	_ether_addr_copy
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	movq	%r14, %rdi
	callq	_cxgb4vf_set_addr_hash
LBB0_5:
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%eax, %ecx
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cxgb4vf_mac_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb4vf_mac_sync
_cxgb4vf_mac_sync:                      ; @cxgb4vf_mac_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_netdev_priv
	mov	x19, x0
	ldr	x21, [x0, #8]
	stp	xzr, xzr, [sp]
	mov	x0, x20
	bl	_is_unicast_ether_addr
	str	x20, [sp, #16]
	ldr	w1, [x19]
	cmp	w0, #0
	mov	x8, sp
	add	x9, sp, #8
	csel	x6, x9, x8, eq
	add	x4, sp, #16
	mov	x0, x21
	mov	w2, #0
	mov	w3, #1
	mov	x5, #0
	mov	w7, #0
	bl	_t4vf_alloc_mac_filt
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldp	x8, x9, [sp]
	orr	x8, x8, x9
	cbz	x8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
	ldr	w0, [x0, #4]
	mov	x1, x20
	bl	_ether_addr_copy
	mov	x0, x22
	mov	x1, x21
	bl	_list_add_tail
	mov	x0, x19
	bl	_cxgb4vf_set_addr_hash
LBB0_4:
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_5:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cxgb4vf_mac_sync
.subsections_via_symbols
