	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_vlan_rx_add_vid
_mlx4_en_vlan_rx_add_vid:               ## @mlx4_en_vlan_rx_add_vid
	.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
	movl	%edx, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %r15
	movq	_HW@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rsi
	movl	%r14d, %ecx
	callq	_en_dbg
	movl	16(%rbx), %esi
	movl	%r14d, %edi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_mlx4_SET_VLAN_FLTR
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_en_err
	jmp	LBB0_7
LBB0_4:
	movl	4(%r15), %edi
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rcx
	movl	%r14d, %edx
	callq	_mlx4_register_vlan
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r12d
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_en_dbg
	jmp	LBB0_7
LBB0_5:
	xorl	%r12d, %r12d
LBB0_7:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW,4,2                         ## @HW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adding VLAN:%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed configuring VLAN filter\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed adding vlan %d\n"

	.no_dead_strip	_mlx4_en_vlan_rx_add_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_vlan_rx_add_vid
_mlx4_en_vlan_rx_add_vid:               ; @mlx4_en_vlan_rx_add_vid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	bl	_netdev_priv
	mov	x21, x0
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x23, _HW@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HW@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	mov	x3, x20
	bl	_en_dbg
	ldr	w1, [x21, #16]
	mov	x0, x20
	bl	_set_bit
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_mlx4_SET_VLAN_FLTR
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_en_err
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	add	x3, sp, #12
	mov	x2, x20
	bl	_mlx4_register_vlan
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x23]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	x3, x20
	bl	_en_dbg
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HW,4,2                         ; @HW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adding VLAN:%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed configuring VLAN filter\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed adding vlan %d\n"

	.no_dead_strip	_mlx4_en_vlan_rx_add_vid
.subsections_via_symbols
