	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_switchdev_vxlan_vlans_add
_mlxsw_sp_switchdev_vxlan_vlans_add:    ## @mlxsw_sp_switchdev_vxlan_vlans_add
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	16(%rsi), %edi
	callq	_SWITCHDEV_OBJ_PORT_VLAN
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r14d
	movq	_BRIDGE_VLAN_INFO_UNTAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r14d, %r13d
	movq	_BRIDGE_VLAN_INFO_PVID@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	8(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	4(%r15), %rdi
	callq	_switchdev_notifier_info_to_extack
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_netdev_master_upper_dev_get
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_mlxsw_sp_lower_get
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$1, (%r15)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_switchdev_trans_ph_commit
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_mlxsw_sp_bridge_device_find
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r15
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	cmpq	16(%rax), %rbx
	jg	LBB0_7
## %bb.9:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	callq	_mlxsw_sp_switchdev_vxlan_vlan_add
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	1(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	16(%rcx), %rbx
	movq	%rax, %rbx
	jl	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_BRIDGE_VLAN_INFO_UNTAGGED,4,2  ## @BRIDGE_VLAN_INFO_UNTAGGED
	.comm	_BRIDGE_VLAN_INFO_PVID,4,2      ## @BRIDGE_VLAN_INFO_PVID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlxsw_sp_switchdev_vxlan_vlans_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_switchdev_vxlan_vlans_add
_mlxsw_sp_switchdev_vxlan_vlans_add:    ; @mlxsw_sp_switchdev_vxlan_vlans_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	bl	_SWITCHDEV_OBJ_PORT_VLAN
	mov	x20, x0
	ldr	w26, [x0]
Lloh0:
	adrp	x8, _BRIDGE_VLAN_INFO_UNTAGGED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRIDGE_VLAN_INFO_UNTAGGED@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _BRIDGE_VLAN_INFO_PVID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRIDGE_VLAN_INFO_PVID@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	ldr	x24, [x23, #8]
	add	x0, x23, #4
	bl	_switchdev_notifier_info_to_extack
	mov	x21, x0
	mov	x0, x19
	bl	_netdev_master_upper_dev_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x25, x0
	bl	_mlxsw_sp_lower_get
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	mov	w8, #1
	str	w8, [x23]
	mov	x0, x24
	bl	_switchdev_trans_ph_commit
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x22]
	mov	x1, x25
	bl	_mlxsw_sp_bridge_device_find
	cbz	x0, LBB0_11
; %bb.6:
	mov	x23, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.7:
	ldp	x24, x8, [x20, #8]
	cmp	x24, x8
	b.gt	LBB0_3
; %bb.8:
	and	w25, w27, w26
	and	w26, w28, w26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	x3, x24
	mov	x4, x25
	mov	x5, x26
	mov	x6, x21
	bl	_mlxsw_sp_switchdev_vxlan_vlan_add
	cbnz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x24, #1
	ldr	x9, [x20, #16]
	cmp	x24, x9
	mov	x24, x8
	b.lt	LBB0_9
	b	LBB0_4
LBB0_11:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BRIDGE_VLAN_INFO_UNTAGGED,4,2  ; @BRIDGE_VLAN_INFO_UNTAGGED
	.comm	_BRIDGE_VLAN_INFO_PVID,4,2      ; @BRIDGE_VLAN_INFO_PVID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlxsw_sp_switchdev_vxlan_vlans_add
.subsections_via_symbols
